fix build time not correct bug

This commit is contained in:
barnettZQG 2021-03-15 21:24:48 +08:00
parent 4becc73499
commit aee6aec826

View File

@ -353,6 +353,7 @@ func (i *SourceCodeBuildItem) UpdateVersionInfo(vi *dbmodel.VersionInfo) error {
version.Author = vi.Author
version.CodeVersion = vi.CodeVersion
version.CodeBranch = vi.CodeBranch
version.FinishTime = time.Now()
if err := db.GetManager().VersionInfoDao().UpdateModel(version); err != nil {
return err
}