Skip to content

Commit

Permalink
Merge pull request #78 from stakater/release-trash
Browse files Browse the repository at this point in the history
goreleaser update
  • Loading branch information
rasheedamir authored Sep 17, 2024
2 parents b48b54a + 495ccea commit c3aaa4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@master
with:
version: latest
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
Expand Down
14 changes: 1 addition & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,7 @@ builds:
- darwin

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
- name_template: "{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit c3aaa4f

Please sign in to comment.