We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af354c8 commit dc17383Copy full SHA for dc17383
.goreleaser.yml
@@ -9,6 +9,8 @@ builds:
9
- main: ./cmd/rhoas/main.go
10
id: rhoas_cli
11
binary: rhoas
12
+ ldflags:
13
+ - -s -w -X github.com/bf2fc6cc711aee1a0c2a/cli/pkg/version.CLI_VERSION={{.Version}}
14
goos:
15
- linux
16
- windows
pkg/version/version.go
@@ -1,6 +1,4 @@
1
package version
2
3
-/**
4
- * Version for the cli used in various places.
5
- */
6
-const CLI_VERSION = "0.6.0" // nolint
+// CLI_VERSION is the version for the cli used in various places
+var CLI_VERSION = "development" // nolint
0 commit comments