chore: update goreleaser config (#2045)

This commit is contained in:
Nicholas Wiersma
2025-04-19 12:30:15 +02:00
committed by GitHub
parent b338559444
commit d3db910e70
+6 -2
View File
@@ -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: