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:
@ -30,7 +30,8 @@ builds:
|
|||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
ldflags:
|
ldflags:
|
||||||
- -s -w {{if .IsNightly}}-X 'github.com/go-task/task/v3/internal/version.version=vX.X.X'={{.Version}}'{{end}} # Don't set main.version.
|
- "-s -w"
|
||||||
|
- "{{if .IsNightly}}-X github.com/go-task/task/v3/internal/version.version={{.Version}}{{end}}"
|
||||||
|
|
||||||
gomod:
|
gomod:
|
||||||
proxy: true
|
proxy: true
|
||||||
|
Reference in New Issue
Block a user