From 49dddbd684cf11556f3eabd3779ffc6e4dc238ce Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 2 May 2023 10:47:52 +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 430b7d3ba81c..f1cf24057709 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: - name: Build project run: | cd .. - tar -C invoiceninja --exclude='.htaccess' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar invoiceninja/ + tar --exclude='.htaccess' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar -C invoiceninja . - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')