diff --git a/.github/workflows/distros.yaml b/.github/workflows/distros.yaml index b93ef36..f44d031 100644 --- a/.github/workflows/distros.yaml +++ b/.github/workflows/distros.yaml @@ -39,6 +39,7 @@ jobs: echo RELEASE_NAME="naxsi-${RELEASE_ID}-src-with-deps-tgz" >> $GITHUB_ENV export TARNAME="naxsi-${RELEASE_ID}-src-with-deps.tar.gz" touch "$TARNAME" + rm -rf .git tar --exclude="$TARNAME" -czvf "$TARNAME" . - name: Upload tarball uses: actions/upload-artifact@v3 @@ -66,6 +67,7 @@ jobs: fi RELEASE_ID=${RELEASE_ID##refs/tags/} echo RELEASE_NAME="naxsi-${RELEASE_ID}-src-with-deps-zip" >> $GITHUB_ENV + rm -rf .git - name: Upload zip uses: actions/upload-artifact@v3 with: @@ -137,7 +139,7 @@ jobs: run: | rm -rf naxsi_src/libinjection git clone https://github.com/libinjection/libinjection.git naxsi_src/libinjection - git -C naxsi_src/libinjection checkout 51f3a96e9fcc90a6112f52ac96fd4661e7ab0a44 + git -C naxsi_src/libinjection checkout 4aa3894b21d03d9d8fc364505c0617d2aca73fc1 chmod 777 . - name: ${{ matrix.name }} package if: matrix.package == 'apk'