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:
@ -5,10 +5,6 @@ pro: true
|
|||||||
release:
|
release:
|
||||||
name_template: 'v{{.Version}}'
|
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:
|
nightly:
|
||||||
publish_release: true
|
publish_release: true
|
||||||
|
@ -30,7 +30,7 @@ builds:
|
|||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
ldflags:
|
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:
|
gomod:
|
||||||
proxy: true
|
proxy: true
|
||||||
|
Reference in New Issue
Block a user