summaryrefslogtreecommitdiff
path: root/tableBuild.go
diff options
context:
space:
mode:
Diffstat (limited to 'tableBuild.go')
-rw-r--r--tableBuild.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tableBuild.go b/tableBuild.go
index 99f08cb..870a94e 100644
--- a/tableBuild.go
+++ b/tableBuild.go
@@ -10,8 +10,8 @@ import (
func (f *Forge) GetPackageVersion(repo *gitpb.Repo) string {
var s string
- s = repo.GetCurrentBranchVersion()
- if repo.IsDirty() {
+ s = repo.GetUserVersion() + "s"
+ if repo.CheckDirty() {
s += "-dirty"
}
return s