Only append -dev when vcs.modified is true
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0c4bd412c9
commit
6138bece53
|
@ -726,7 +726,7 @@ func main() {
|
|||
for _, s := range dInfo.Settings {
|
||||
if s.Key == "vcs.revision" {
|
||||
programVersion = s.Value
|
||||
} else if s.Key == "vcs.modified" {
|
||||
} else if s.Key == "vcs.modified" && s.Value == "true" {
|
||||
programVersion += "-dev"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue