From 0be8a3fd71be6f081403f66ad4b2e76ed7068a64 Mon Sep 17 00:00:00 2001 From: eeeXun Date: Wed, 18 Jan 2023 15:01:18 +0800 Subject: [PATCH] chore: not use `--remove-files` option in tar It cause some problem in macos --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad8624c..b6fb9cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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