diff --git a/.goreleaser.yml b/.goreleaser.yml index a88adcbc..69d0dc28 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,9 +3,11 @@ gitea_urls: api: https://git.coopcloud.tech/api/v1 download: https://git.coopcloud.tech/ skip_tls_verify: false + before: hooks: - go mod tidy + builds: - env: - CGO_ENABLED=0 @@ -26,6 +28,7 @@ builds: ldflags: - "-X 'main.Commit={{ .Commit }}'" - "-X 'main.Version={{ .Version }}'" + - env: - CGO_ENABLED=0 id: kadabra @@ -45,15 +48,19 @@ builds: ldflags: - "-X 'main.Commit={{ .Commit }}'" - "-X 'main.Version={{ .Version }}'" + archives: - replacements: 386: i386 amd64: x86_64 format: binary + checksum: name_template: "checksums.txt" + snapshot: name_template: "{{ incpatch .Version }}-next" + changelog: sort: desc filters: