Avoid resetting updated version if the package has already been built

This commit is contained in:
Martchus 2023-09-04 21:20:10 +02:00
parent 61756023db
commit 0acbc2d193
1 changed files with 3 additions and 1 deletions

View File

@ -482,7 +482,9 @@ void ConductBuild::run()
if (progress.makepkgFlags.empty()) {
progress.makepkgFlags = m_setup.building.makepkgFlags;
}
progress.updatedVersion.clear(); // reset as there must not be an old value from a previous run
if (!progress.finished.isNull()) {
progress.updatedVersion.clear(); // reset as there must not be an old value from a previous run
}
}
setupReadLock2.unlock();
dumpBuildProgress();