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 d55dc8a commit 929aa97Copy full SHA for 929aa97
.goreleaser.yaml
@@ -14,7 +14,7 @@ builds:
14
binary: privatebin
15
ldflags:
16
- -s -w
17
- - -X 'main.cliVersion={{.Version}}'
+ - -X 'main.version={{.Version}}'
18
- -X 'main.commit={{.ShortCommit}}'
19
- -X 'main.date={{.Date}}'
20
gcflags:
GNUmakefile
@@ -10,7 +10,7 @@ RM = rm -f
10
11
DATETIME = "Sep 8, 2025"
12
VERSION = 2.1.1
13
-LDFLAGS = -ldflags "-X 'main.cliVersion=$(VERSION)'"
+LDFLAGS = -ldflags "-X 'main.version=$(VERSION)'"
BIN = bin/privatebin
0 commit comments