v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-21 10:00:59 -07:00

chore: not use --remove-files option in tar

It cause some problem in macos
This commit is contained in:
eeeXun 2023-01-18 15:01:18 +08:00
parent 4c3a412b5a
commit 0be8a3fd71

View File

@ -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