Skip to content

Commit 2c50327

Browse files
committed
Fix goreleaser build version
Signed-off-by: Aylei <[email protected]>
1 parent 1ab75d9 commit 2c50327

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.goreleaser.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ builds:
2020
ignore:
2121
- goos: darwin
2222
goarch: 386
23+
ldflags:
24+
- -s -w -X 'github.com/aylei/kubectl-debug/version.gitVersion={{.Version}}'
2325
checksum:
2426
name_template: 'checksums.txt'
2527
snapshot:

go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o
147147
github.com/konsorten/go-windows-terminal-sequences v0.0.0-20180402223658-b729f2633dfe/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
148148
github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk=
149149
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
150+
github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=
150151
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
151152
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
152153
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=

0 commit comments

Comments
 (0)