mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
chore: update goreleaser config (#2045)
This commit is contained in:
+6
-2
@@ -1,10 +1,13 @@
|
|||||||
|
version: 2
|
||||||
|
project_name: athens
|
||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod download
|
- go mod download
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
- GOPROXY=https://proxy.golang.org
|
- GOPROXY=https://proxy.golang.org
|
||||||
project_name: athens
|
|
||||||
builds:
|
builds:
|
||||||
- id: builds
|
- id: builds
|
||||||
goos:
|
goos:
|
||||||
@@ -18,10 +21,11 @@ builds:
|
|||||||
ldflags:
|
ldflags:
|
||||||
- -X "github.com/gomods/athens/pkg/build.version={{ .Tag }}"
|
- -X "github.com/gomods/athens/pkg/build.version={{ .Tag }}"
|
||||||
- -X "github.com/gomods/athens/pkg/build.buildDate={{ .Env.DATE }}"
|
- -X "github.com/gomods/athens/pkg/build.buildDate={{ .Env.DATE }}"
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{ .Tag }}-next"
|
version_template: "{{ .Tag }}-next"
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
|
|||||||
Reference in New Issue
Block a user