We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b8a3c commit 58ca234Copy full SHA for 58ca234
2 files changed
.goreleaser.yml
@@ -12,6 +12,8 @@ builds:
12
binary: nightward
13
env:
14
- CGO_ENABLED=0
15
+ ldflags:
16
+ - -s -w -X github.com/jsonbored/nightward/internal/cli.version={{ .Version }}
17
goos:
18
- darwin
19
- linux
@@ -24,6 +26,8 @@ builds:
24
26
binary: nw
25
27
28
29
30
31
32
33
internal/cli/cli.go
@@ -23,7 +23,7 @@ import (
23
"github.com/jsonbored/nightward/internal/tui"
)
-const version = "0.1.0"
+var version = "0.1.0"
type Check struct {
ID string `json:"id"`
0 commit comments