We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db9f98a commit 92540d3Copy full SHA for 92540d3
checkpoint.go
@@ -34,7 +34,7 @@ func runCheckpoint(c *Config) {
34
35
version := Version
36
if VersionPrerelease != "" {
37
- version += fmt.Sprintf(".%s", VersionPrerelease)
+ version += fmt.Sprintf("-%s", VersionPrerelease)
38
}
39
40
signaturePath := filepath.Join(configDir, "checkpoint_signature")
command/version.go
@@ -38,7 +38,7 @@ func (c *VersionCommand) Run(args []string) int {
fmt.Fprintf(&versionString, "Terraform v%s", c.Version)
if c.VersionPrerelease != "" {
41
- fmt.Fprintf(&versionString, ".%s", c.VersionPrerelease)
+ fmt.Fprintf(&versionString, "-%s", c.VersionPrerelease)
42
43
if c.Revision != "" {
44
fmt.Fprintf(&versionString, " (%s)", c.Revision)
0 commit comments