Skip to content

Commit

Permalink
fix for goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
孙圣翔²⁰₂₁ authored and 孙圣翔²⁰₂₁ committed Dec 4, 2024
1 parent 29bd44a commit fdd6ff9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
args: release
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
19 changes: 14 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go mod tidy
Expand All @@ -16,8 +17,16 @@ builds:
- "386"
goarm:
- "6"
brews:
- tap:
owner: codeskyblue
name: homebrew-tap
folder: Formula

archives:
- format: tar.gz
# use zip for windows archives
format_overrides:
- goos: windows
format: zip

# brews:
# - tap:
# owner: codeskyblue
# name: homebrew-tap
# folder: Formula

0 comments on commit fdd6ff9

Please sign in to comment.