From bb3b830b4b4c72b3de64267a04a319775f392c03 Mon Sep 17 00:00:00 2001 From: Theis Date: Tue, 5 Mar 2024 09:33:50 +0100 Subject: [PATCH] fixed yml workflow hopefully --- .github/workflows/build_test_release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_test_release.yml b/.github/workflows/build_test_release.yml index 3169402..c83119a 100644 --- a/.github/workflows/build_test_release.yml +++ b/.github/workflows/build_test_release.yml @@ -18,21 +18,19 @@ jobs: - name: publish project shell: bash run: | - cp ./src_code/go_src/author.txt ./dist - tag=$(git describe --tags --abbrev=0) #linux build release_name_linux="cocommit_go-$tag-linux" - tar -C ./dist -czvf "${release_name_linux}.tar.gz" ./cocommit_go-linux ./author.txt + tar -C ./dist -czvf "${release_name_linux}.tar.gz" ./dist/cocommit_go-linux ./author.txt #windows build release_name_win="cocommit_go-$tag-win" - tar -C ./dist -czvf "${release_name_win}.tar.gz" ./cocommit_go-windows ./author.txt + 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 -C ./dist -czvf "${release_name_mac}.tar.gz" ./cocommit_go-darwin ./author.txt + tar -C ./dist -czvf "${release_name_mac}.tar.gz" ./dist/cocommit_go-darwin ./author.txt - name: Release project uses: softprops/action-gh-release@v1 with: