Skip to content

Commit b44485e

Browse files
maint: Tune Goreleaser (#2835)
1 parent 989ca6b commit b44485e

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
@@ -38,7 +38,7 @@ jobs:
3838
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0
3939
with:
4040
args: release --clean
41-
version: latest
41+
version: '~> v2'
4242
env:
4343
# GitHub sets the GITHUB_TOKEN secret automatically.
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.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
extra_files:

0 commit comments

Comments
 (0)