Fix build versioning; add dev.docker file

This commit is contained in:
Daniel Nelson
2017-09-22 16:49:28 -07:00
parent db787f9a83
commit 7b41da4ddd
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
}