Skip to content

Commit

Permalink
fix: goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
j178 committed Aug 30, 2023
1 parent 4b1bb8c commit 65b903a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '1.20.x'
go-version: '1.21.x'
cache: true
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
# Custom secret here since we need to access to j178/homebrew-tap and j178/scoop-bucket repo.
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ before:
hooks:
- go mod tidy
builds:
- main: ./cmd/
- main: ./cmd/chatgpt
env:
- CGO_ENABLED=0
goos:
Expand Down

0 comments on commit 65b903a

Please sign in to comment.