diff options
| -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" |
