From 5fdd97dd79cd6661cf1d3fe009670be04a367461 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 2 May 2023 23:29:22 +1000 Subject: [PATCH] updates for tar directory --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a9867a7da617..43d371e97f70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,8 +66,8 @@ jobs: - name: Build project run: | zip -r /home/runner/work/invoiceninja/invoiceninja.zip .* -x "../*" - cd .. - tar --exclude='.htaccess' --exclude='invoiceninja.zip' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar -C invoiceninja .* --xform='s!^\./!!' + shopt -s dotglob + tar --exclude='.htaccess' --exclude='invoiceninja.zip' -zcvf /home/runner/work/invoiceninja/invoiceninja.tar * - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/')