mirror of
https://github.com/gomods/athens
synced 2026-02-03 07:30: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:
|
||||
hooks:
|
||||
- go mod download
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
- GOPROXY=https://proxy.golang.org
|
||||
project_name: athens
|
||||
|
||||
builds:
|
||||
- id: builds
|
||||
goos:
|
||||
@@ -18,10 +21,11 @@ builds:
|
||||
ldflags:
|
||||
- -X "github.com/gomods/athens/pkg/build.version={{ .Tag }}"
|
||||
- -X "github.com/gomods/athens/pkg/build.buildDate={{ .Env.DATE }}"
|
||||
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
snapshot:
|
||||
name_template: "{{ .Tag }}-next"
|
||||
version_template: "{{ .Tag }}-next"
|
||||
changelog:
|
||||
sort: asc
|
||||
filters:
|
||||
|
||||
Reference in New Issue
Block a user