set repo version after build

This commit is contained in:
Giovanni Harting 2021-07-13 14:08:21 +02:00
parent 5c94029952
commit 34acdfcc3e

View File

@ -642,7 +642,7 @@ func (b *BuildManager) repoWorker(repo string) {
dbPkg := getDbPackage(pkg)
dbLock.Lock()
dbPkg = dbPkg.Update().SetStatus(LATEST).SetSkipReason("").SaveX(context.Background())
dbPkg = dbPkg.Update().SetStatus(LATEST).SetSkipReason("").SetRepoVersion(getVersionFromRepo(pkg)).SaveX(context.Background())
dbLock.Unlock()
cmd = exec.Command("paccache",