Skip to content

Commit

Permalink
refactor(main): fix release (labring#134)
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <[email protected]>
  • Loading branch information
cuisongliu authored Nov 13, 2023
1 parent 33b9db7 commit 1915a94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: build --snapshot --rm-dist --timeout=1h
args: release --snapshot --rm-dist --timeout=1h
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
VERSION: latest
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: build --snapshot --rm-dist --timeout=1h
args: release --snapshot --rm-dist --timeout=1h
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
VERSION: latest
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
Expand Down

0 comments on commit 1915a94

Please sign in to comment.