Fix build versioning; add dev.docker file

This commit is contained in:
Daniel Nelson
2017-09-22 16:49:28 -07:00
parent 08c197f73a
commit c010fb1c3c
4 changed files with 36 additions and 15 deletions

View File

@@ -268,7 +268,7 @@ func (p *program) Stop(s service.Service) error {
func displayVersion() string {
if version == "" {
return fmt.Sprintf("v%s~pre%s", nextVersion, commit)
return fmt.Sprintf("v%s~%s", nextVersion, commit)
}
return "v" + version
}