forked from OpenCatalogi/opencatalogi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stuffing the app into a folder within the zip
- Loading branch information
1 parent
6e68541
commit dfcf9f2
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|