1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

try version

This commit is contained in:
Valentin Maerten
2025-08-06 21:57:32 +02:00
parent 7869592097
commit a6d773b3a6
2 changed files with 1 additions and 5 deletions

View File

@ -5,10 +5,6 @@ pro: true
release:
name_template: 'v{{.Version}}'
builds:
- binary: task
ldflags:
- -s -w -X 'github.com/go-task/task/v3/internal/version.version=vX.X.X'={{.Version}}'
nightly:
publish_release: true

View File

@ -30,7 +30,7 @@ builds:
flags:
- -trimpath
ldflags:
- -s -w # Don't set main.version.
- -s -w {{if .IsNightly}}-X 'github.com/go-task/task/v3/internal/version.version=vX.X.X'={{.Version}}'{{end}} # Don't set main.version.
gomod:
proxy: true