Skip to content

Commit

Permalink
Bump GoReleaser to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Feb 22, 2025
1 parent 6efee66 commit da6c393
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: v1.12.3
version: v2.7.0
args: check
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: v1.12.3
args: release --rm-dist
version: v2.7.0
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/attest-build-provenance@v1
Expand Down
8 changes: 5 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
version: 2
env:
- CGO_ENABLED=0
builds:
Expand All @@ -19,11 +20,12 @@ builds:
archives:
- id: zip
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format: zip
formats:
- 'zip'
files:
- none*
changelog:
skip: true
disable: true
checksum:
name_template: 'checksums.txt'
extra_files:
Expand All @@ -46,4 +48,4 @@ release:
name: tflint-ruleset-google
draft: true
snapshot:
name_template: "{{ .Tag }}-dev"
version_template: "{{ .Tag }}-dev"

0 comments on commit da6c393

Please sign in to comment.