set repo version after build
This commit is contained in:
parent
5c94029952
commit
34acdfcc3e
2
main.go
2
main.go
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user