Skip to content

Commit

Permalink
chore: not use --remove-files option in tar
Browse files Browse the repository at this point in the history
It cause some problem in macos
  • Loading branch information
eeeXun committed Jan 18, 2023
1 parent 4c3a412 commit 0be8a3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
mkdir -p dist
go get
go build -ldflags="-s -w -X main.version=$version"
tar -czf "dist/gtt-$(go env GOOS)-$(go env GOARCH).tar.gz" gtt --remove-files
tar -czf "dist/gtt-$(go env GOOS)-$(go env GOARCH).tar.gz" gtt
rm gtt
- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 0be8a3f

Please sign in to comment.