From 0218dee76d76acaca8e664ae337a20c7ffd4e7b7 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Tue, 11 Feb 2025 21:47:23 -0600 Subject: [PATCH] v0.7.0 change GoReleaser file --- .goreleaser/gitea.yml | 4 ++-- .goreleaser/github.yml | 4 ++-- release | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.goreleaser/gitea.yml b/.goreleaser/gitea.yml index b4380f3..5518d47 100644 --- a/.goreleaser/gitea.yml +++ b/.goreleaser/gitea.yml @@ -16,7 +16,7 @@ builds: - arm64 archives: - - format: tar.gz + - formats: tar.gz # this name template makes the OS and Arch compatible with the results of uname. name_template: >- {{ .ProjectName }}_{{ .Version }}_ @@ -28,7 +28,7 @@ archives: # use zip for windows archives format_overrides: - goos: windows - format: zip + formats: zip checksum: name_template: 'checksums.txt' snapshot: diff --git a/.goreleaser/github.yml b/.goreleaser/github.yml index 408f769..2504bba 100644 --- a/.goreleaser/github.yml +++ b/.goreleaser/github.yml @@ -17,7 +17,7 @@ builds: - arm64 archives: - - format: tar.gz + - formats: tar.gz # this name template makes the OS and Arch compatible with the results of uname. name_template: >- {{ .ProjectName }}_{{ .Version }}_ @@ -29,7 +29,7 @@ archives: # use zip for windows archives format_overrides: - goos: windows - format: zip + formats: zip checksum: name_template: 'checksums.txt' snapshot: diff --git a/release b/release index 04ec51b..518d232 100755 --- a/release +++ b/release @@ -1,5 +1,8 @@ #!/bin/bash +set -eou pipefail export CURRENT_TAG="$(go run backy.go version -V)" +goreleaser -f .goreleaser/github.yml check +goreleaser -f .goreleaser/gitea.yml check changie batch $CURRENT_TAG changie merge git add .changes/