Skip to content

Commit

Permalink
Stuffing the app into a folder within the zip
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Aug 21, 2024
1 parent 6e68541 commit dfcf9f2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,22 +81,22 @@ jobs:
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: 'zip'
filename: "packadge.${{ steps.version.outputs.version }}.zip"
command: "mkdir -p opencatalogi && mv * opencatalogi/"
type: 'tar'
filename: "packadge.${{ steps.version.outputs.version }}.tar.gz"
exclusions: '*.git* *.vscode* .coverage-frontend* .docker* .tests* .docs* .specs.ts* .mocks.ts* .tests* .babelrc .nvmrc .php-cs-fixer.dist.php .phpunit.result.cache .prettierrc changelog-ci-config.json composer-setup.php coverage.txt docker-compose.yml .editorconfig .jest.config.js .eslintrc.js phpmd.xml phpunit.xml psalm.xml .eslintrc.js stylelint.config.js webpack.config.js'
# Documentation: https://github.com/marketplace/actions/zip-release
# Explanation: This step creates a zip archive of the repository, excluding certain files and directories as specified.

# Step 10: Create a new release on GitHub
- name: Create GitHub Release
uses: marvinpinto/action-automatic-releases@latest
- name: Upload Release
uses: ncipollo/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: ${{ steps.version.outputs.version }}
prerelease: false
title: "Release ${{ steps.version.outputs.version }}"
files: |
# bodyFile: 'opencatalogi/'
artifacts: |
LICENSE.md
"packadge.${{ steps.version.outputs.version }}.zip"
# Documentation: https://github.com/marvinpinto/action-automatic-releases
"packadge.${{ steps.version.outputs.version }}.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}
# Documentation: https://github.com/ncipollo/release-action
# Explanation: This step creates a new release on GitHub, uploading the generated release files, and tagging the release with the calculated version.

0 comments on commit dfcf9f2

Please sign in to comment.