Exclude base path from .tar

This commit is contained in:
David Bomba 2023-05-02 10:47:52 +10:00
parent c3bccda741
commit 49dddbd684

View File

@ -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/')