From 77e674472b7bce478c78076426c3a087d8ae97f4 Mon Sep 17 00:00:00 2001 From: Paul Kilmurray Date: Sat, 11 Nov 2023 12:22:58 +0100 Subject: [PATCH] debug EXCLUDES --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc41f51..4018428 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,15 +54,22 @@ jobs: - name: Read .distignore if: steps.check_version.outputs.release == 'true' - id: read_distignore run: | EXCLUDES=$(awk '{print "-x \42"$0"\42"}' .distignore | xargs) echo "EXCLUDES=$EXCLUDES" >> $GITHUB_ENV - + + - name: Debug EXCLUDES + if: steps.check_version.outputs.release == 'true' + run: | + echo "Exclude string: $EXCLUDES" + - name: Compress and Upload ZIP if: steps.check_version.outputs.release == 'true' run: | + set -x zip -r woocommerce-pos.zip . $EXCLUDES + set +x gh release upload v${{ env.VERSION }} woocommerce-pos.zip --clobber env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +