diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 07:09:39 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 07:09:39 -0600 |
| commit | 7db8376213128cc05eacc9fe4434c006bbc7d326 (patch) | |
| tree | be27158489afd8b50d29e489d65e841e2f840b08 | |
| parent | ee7e8d5b2ba38bcc53b210c9a04ccff0de4a4f19 (diff) | |
todo: fix this error, but not now
| -rw-r--r-- | build.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -77,6 +77,9 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err // get the version version := repo.GetCurrentBranchVersion() + if version == "" { + version = "forgeErr" + } if repo.CheckDirty() { version = version + "-dirty" |
