mirror of
https://github.com/go-task/task.git
synced 2026-06-19 22:15:04 +02:00
Updated the version output to use Go module build information if avalable. Enabled GoReleaser module proxying for verifiable builds.
Co-authored-by: Jamie Edge <JamieEdge@users.noreply.github.com> Co-authored-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
co-authored by
Jamie Edge
Carlos Alexandro Becker
parent
0ae1681d9c
commit
53b2cebb66
+6
-1
@@ -1,6 +1,6 @@
|
||||
build:
|
||||
binary: task
|
||||
main: cmd/task/task.go
|
||||
main: cmd/task
|
||||
goos:
|
||||
- windows
|
||||
- darwin
|
||||
@@ -17,6 +17,11 @@ build:
|
||||
goarch: 386
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
ldflags:
|
||||
- -s -w # Don't set main.version.
|
||||
|
||||
gomod:
|
||||
proxy: true
|
||||
|
||||
archives:
|
||||
- name_template: "{{.Binary}}_{{.Os}}_{{.Arch}}"
|
||||
|
||||
Reference in New Issue
Block a user