From c3bccda7412a3ae103a900866ed59b9857878196 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 2 May 2023 10:27:41 +1000 Subject: [PATCH] Exclude base path from .tar --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b141a2e9a4b5..430b7d3ba81c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: - name: Build project run: | cd .. - tar --exclude='.htaccess' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar invoiceninja/ + tar -C invoiceninja --exclude='.htaccess' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar invoiceninja/ - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')