Skip to content

Commit

Permalink
refactor: update workflows/release
Browse files Browse the repository at this point in the history
  • Loading branch information
tai-ga committed Dec 19, 2024
1 parent 34a1242 commit b9ef845
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
args: release --snapshot --clean
slack-notify:
if: always()
needs: [goreleaser]
Expand Down
12 changes: 4 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

project_name: gowhoson
before:
hooks:
Expand All @@ -17,18 +19,12 @@ builds:
goarch:
- amd64
archives:
- replacements:
darwin: darwin
linux: linux
windows: windows
386: i386
amd64: x86_64
- format: tar.gz
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}'
format: tar.gz
files:
- LICENSE
- README*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
version_template: "{{ incpatch .Version }}-next"
release:
prerelease: auto

0 comments on commit b9ef845

Please sign in to comment.