Skip to content

Commit 929aa97

Browse files
committed
Fix version tag
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
1 parent d55dc8a commit 929aa97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builds:
1414
binary: privatebin
1515
ldflags:
1616
- -s -w
17-
- -X 'main.cliVersion={{.Version}}'
17+
- -X 'main.version={{.Version}}'
1818
- -X 'main.commit={{.ShortCommit}}'
1919
- -X 'main.date={{.Date}}'
2020
gcflags:

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RM = rm -f
1010

1111
DATETIME = "Sep 8, 2025"
1212
VERSION = 2.1.1
13-
LDFLAGS = -ldflags "-X 'main.cliVersion=$(VERSION)'"
13+
LDFLAGS = -ldflags "-X 'main.version=$(VERSION)'"
1414

1515
BIN = bin/privatebin
1616

0 commit comments

Comments
 (0)