Skip to content

Commit

Permalink
fix release (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
abice authored Mar 26, 2023
1 parent 96d5c8d commit c76d0d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13 changes: 6 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ checksum:
archives:
# Distribute just the binaries by default
- format: binary
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
snapshot:
name_template: "{{ incpatch .Version }}-next"
Expand Down

0 comments on commit c76d0d6

Please sign in to comment.