Skip to content

Commit f24a507

Browse files
authored
Merge pull request #1245 from citrix/goreleaser-version-update
Updated goreleaser action to latest version
2 parents bb67b1e + 35df43f commit f24a507

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3333
passphrase: ${{ secrets.PASSPHRASE }}
3434
- name: Run GoReleaser
35-
uses: goreleaser/goreleaser-action@v5.0.0
35+
uses: goreleaser/goreleaser-action@v6.0.0
3636
with:
3737
args: release --clean
3838
env:

.goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
3+
version: 2
34
before:
45
hooks:
56
# this is just an example and not a requirement for provider building/publishing
@@ -30,7 +31,7 @@ builds:
3031
goarch: '386'
3132
binary: '{{ .ProjectName }}_v{{ .Version }}'
3233
archives:
33-
- format: zip
34+
- formats: ['zip']
3435
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
3536
checksum:
3637
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'

0 commit comments

Comments
 (0)