diff --git a/.github/workflows/build_test_release.yml b/.github/workflows/build_test_release.yml index 00f5ad3..74ddd91 100644 --- a/.github/workflows/build_test_release.yml +++ b/.github/workflows/build_test_release.yml @@ -28,11 +28,11 @@ jobs: #windows build release_name_win="cocommit_go-$tag-win" - tar -czvf "${release_name_win}.tar.gz" ./dist/cocommit_go-windows + tar -C ./dist -czvf "${release_name_win}.tar.gz" ./dist/cocommit_go-windows ./author.txt #mac build release_name_mac="cocommit_go-$tag-mac" - tar -czvf "${release_name_mac}.tar.gz" ./dist/cocommit_go-darwin + tar -C ./dist -czvf "${release_name_mac}.tar.gz" ./cocommit_go-darwin ./author.txt - name: Release project uses: softprops/action-gh-release@v1 with: