fix(be): pull pointer when getting build version
Some checks failed
Dev / build-local (push) Has been cancelled
Dev / migrate-boltdb (push) Has been cancelled
Dev / migrate-mysql (push) Has been cancelled
Dev / migrate-mariadb (push) Has been cancelled
Dev / migrate-postgres (push) Has been cancelled
Dev / integrate-boltdb (push) Has been cancelled
Dev / integrate-mysql (push) Has been cancelled
Dev / integrate-mariadb (push) Has been cancelled
Dev / integrate-postgres (push) Has been cancelled
Dev / deploy-server (push) Has been cancelled
Dev / deploy-runner (push) Has been cancelled

This commit is contained in:
Denis Gukov 2024-11-15 22:07:53 +00:00
parent 8932ea2e13
commit cd0755f5a9
2 changed files with 38878 additions and 38873 deletions

View File

@ -487,7 +487,12 @@ func (t *TaskRunner) alertInfos() (string, string) {
if t.Task.Version != nil {
version = *t.Task.Version
} else if t.Template.Type != db.TemplateTask {
version = "build " + *t.Task.GetIncomingVersion(t.pool.store)
v := t.Task.GetIncomingVersion(t.pool.store)
if v != nil {
version = "build " + *v
} else {
version = ""
}
} else {
version = ""
}

77744
web/package-lock.json generated

File diff suppressed because it is too large Load Diff