Skip to content

Commit e8d2300

Browse files
committed
Don't set version at link time
This is no longer needed, and causes the version to be printed twice: % toml-test -version toml-test v1.6.0 369cc3a 2025-04-15 369cc3a 2025-04-15; go1.24.2 linux/amd64; race=false; cgo=false
1 parent 953b272 commit e8d2300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gogo-release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
build_flags="-trimpath -ldflags '-w -s -X \"zgo.at/zli.version=$tag$commit_info\" -X \"zgo.at/zli.progname=toml-test\"' ./cmd/toml-test"
1+
build_flags="-trimpath -ldflags '-w -s -X \"zgo.at/zli.progname=toml-test\"' ./cmd/toml-test"

0 commit comments

Comments
 (0)