From c6de15642d18a7f9213d4ea3d79382ff5f4534e2 Mon Sep 17 00:00:00 2001 From: lalyos Date: Sun, 8 Feb 2015 07:40:05 +0100 Subject: [PATCH] fixing version numbers: RCs should be labeled x.x.x-rcx see conversation with ryanuber: https://github.com/hashicorp/go-checkpoint/issues/2#issuecomment-73199209 --- checkpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkpoint.go b/checkpoint.go index 5d2e486db..f8db2be28 100644 --- a/checkpoint.go +++ b/checkpoint.go @@ -34,7 +34,7 @@ func runCheckpoint(c *config) { version := Version if VersionPrerelease != "" { - version += fmt.Sprintf(".%s", VersionPrerelease) + version += fmt.Sprintf("-%s", VersionPrerelease) } signaturePath := filepath.Join(configDir, "checkpoint_signature")