Skip to content

Commit 65b903a

Browse files
committed
fix: goreleaser
1 parent 4b1bb8c commit 65b903a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- run: git fetch --force --tags
2020
- uses: actions/setup-go@v3
2121
with:
22-
go-version: '1.20.x'
22+
go-version: '1.21.x'
2323
cache: true
2424
- uses: goreleaser/goreleaser-action@v4
2525
with:
2626
distribution: goreleaser
2727
version: latest
28-
args: release --rm-dist
28+
args: release --clean
2929
env:
3030
# Custom secret here since we need to access to j178/homebrew-tap and j178/scoop-bucket repo.
3131
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ before:
22
hooks:
33
- go mod tidy
44
builds:
5-
- main: ./cmd/
5+
- main: ./cmd/chatgpt
66
env:
77
- CGO_ENABLED=0
88
goos:

0 commit comments

Comments
 (0)