Skip to content

Commit

Permalink
chore:downgrade goreleaser version to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
vimiix committed Dec 8, 2023
1 parent 610f47d commit 4ed974c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ builds:
- darwin_arm64
- windows_amd64
archives:
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
- name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}
{{ if .Arm }}v{{ .Arm }}{{ end }}
format: tar.gz
format_overrides:
- goos: windows
Expand Down

0 comments on commit 4ed974c

Please sign in to comment.