Skip to content

Commit

Permalink
Merge pull request #316 from threadi/feature/addGitHubActionToBuildRe…
Browse files Browse the repository at this point in the history
…leaseZip

update GitHub action for release zip
  • Loading branch information
threadi authored Dec 13, 2024
2 parents b133c7b + 67fef0f commit 9488b47
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,16 @@ jobs:

- name: Create ZIP release
run: |
rm -fr assets
rm -fr builds
rm readme.md
rm -fr releases
rm -fr svn
rm -fr languages
rm -fr example
cd ..
mv ${{ github.event.repository.name }} personio-integration-light
zip -r -q personio-integration-light_${{ github.ref_name }}.zip personio-integration-light/* -x "*/.git/*" "*/.github/*" "*/blocks/*/src/*" "*/doc/*" "*/legacy-classes/Divi/.yarn/*" "*/phpcs.xml" "*/composer.json" "*/composer.lock" "*/package.json" "*/package-lock.json" "*/readme.md" "*/ruleset.xml" "*/todo.txt" "build/*" "releases/*" "*/.gitignore" "*/vendor/*" "*/node_modules/*" "/.editorconfig"
zip -r -q personio-integration-light_${{ github.ref_name }}.zip personio-integration-light/* -x "*/.git/*" "*/.github/*" "*/blocks/*/src/*" "*/doc/*" "*/legacy-classes/Divi/.yarn/*" "*/phpcs.xml" "*/composer.json" "*/composer.lock" "*/package.json" "*/package-lock.json" "*/ruleset.xml" "*/.gitignore" "*/vendor/*" "*/node_modules/*" "/.editorconfig"
zip -ur personio-integration-light_${{ github.ref_name }}.zip personio-integration-light/vendor/autoload.php
zip -ur personio-integration-light_${{ github.ref_name }}.zip personio-integration-light/vendor/composer/*
zip -ur personio-integration-light_${{ github.ref_name }}.zip personio-integration-light/vendor/threadi/*/build/*
Expand Down

0 comments on commit 9488b47

Please sign in to comment.