Skip to content

Commit c6f30e8

Browse files
committed
try version
1 parent a6d773b commit c6f30e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ builds:
3030
flags:
3131
- -trimpath
3232
ldflags:
33-
- -s -w {{if .IsNightly}}-X 'github.com/go-task/task/v3/internal/version.version=vX.X.X'={{.Version}}'{{end}} # Don't set main.version.
33+
- "-s -w"
34+
- "{{if .IsNightly}}-X github.com/go-task/task/v3/internal/version.version={{.Version}}{{end}}"
3435

3536
gomod:
3637
proxy: true

0 commit comments

Comments
 (0)