Skip to content

Commit 13a1ce6

Browse files
authored
ci: Match goreleaser version (#1009)
* ci: Match goreleaser version
1 parent 6c5a195 commit 13a1ce6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ jobs:
9191
run: go build github.com/klauspost/compress/s2/cmd/s2c && go build github.com/klauspost/compress/s2/cmd/s2d&&./s2c -verify s2c &&./s2d s2c.s2&&rm ./s2c&&rm s2d&&rm s2c.s2
9292

9393
- name: goreleaser deprecation
94-
run: curl -sfL https://git.io/goreleaser | VERSION=v1.20.0 sh -s -- check
94+
run: curl -sfL https://git.io/goreleaser | VERSION=v2.3.2 sh -s -- check
9595

9696
- name: goreleaser snapshot
97-
run: curl -sL https://git.io/goreleaser | VERSION=v1.20.0 sh -s -- --snapshot --skip-publish --rm-dist
97+
run: curl -sL https://git.io/goreleaser | VERSION=v2.3.2 sh -s -- --snapshot --clean
9898

9999
- name: Test S2 GOAMD64 v3
100100
env:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
2828
with:
2929
version: 2.3.2
30-
args: release --rm-dist
30+
args: release --clean
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3333
CGO_ENABLED: 0

.goreleaser.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# This is an example goreleaser.yaml file with some sane defaults.
2-
# Make sure to check the documentation at http://goreleaser.com
1+
version: 2
2+
33
before:
44
hooks:
55
- ./gen.sh
@@ -99,7 +99,7 @@ archives:
9999
checksum:
100100
name_template: 'checksums.txt'
101101
snapshot:
102-
name_template: "{{ .Tag }}-next"
102+
version_template: "{{ .Tag }}-next"
103103
changelog:
104104
sort: asc
105105
filters:

0 commit comments

Comments
 (0)