From d3db910e705e1ab0d623b9325f9cbcb49c572e44 Mon Sep 17 00:00:00 2001 From: Nicholas Wiersma Date: Sat, 19 Apr 2025 12:30:15 +0200 Subject: [PATCH] chore: update goreleaser config (#2045) --- .goreleaser.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index cd268e72..df3a4553 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: