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.
- Loading branch information
1 parent
b3d86bb
commit 3f74b11
Showing
1 changed file
with
20 additions
and
2 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 |
---|---|---|
|
@@ -86,7 +86,7 @@ jobs: | |
- name: Copy the packadge files into the packadge | ||
run: | | ||
mkdir -p package/opencatalogi | ||
cp -r README.md CHANGELOG.md LICENSE.md psalm.xml package.json package-lock.json openapi.json composer.json appinfo css img js lib node_modules src templates vendor package/opencatalogi/ | ||
cp -r README.md CHANGELOG.md LICENSE.md psalm.xml package.json package-lock.json openapi.json composer.json composer.lock appinfo css img js lib node_modules src templates vendor package/opencatalogi/ | ||
# Step 12: Create the ZIP archive with code in opencatalogi directory | ||
- name: Create ZIP | ||
|
@@ -101,8 +101,24 @@ jobs: | |
# Step 14: Remove the package directory after creating archives and before freezing the code in an realease | ||
- name: Clean up package directory | ||
run: | | ||
rm -rf package | ||
cd package && rm -rf vendor js node_modules | ||
cp -r docs tests .babelrc .estlintrc.js package/opencatalogi/ | ||
# Step 12: Create the ZIP archive with code in opencatalogi directory | ||
- name: Create ZIP | ||
run: | | ||
cd package && zip -r ../sourcecode.zip opencatalogi | ||
# Step 13: Create the TAR.GZ archive with code in opencatalogi directory | ||
- name: Create Tarball | ||
run: | | ||
cd package && tar -czf ../sourcecode.tar.gz opencatalogi | ||
# Step 14: Remove the package directory after creating archives and before freezing the code in an realease | ||
- name: Clean up package directory | ||
run: | | ||
rm -rf package | ||
# Step 10: Create a new release on GitHub | ||
- name: Upload Release | ||
uses: ncipollo/[email protected] | ||
|
@@ -112,6 +128,8 @@ jobs: | |
package/LICENSE.md | ||
opencatalogi.zip | ||
opencatalogi.tar.gz | ||
sourcecode.zip | ||
sourcecode.tar.gz | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
tag: ${{ steps.version.outputs.version }} | ||
# Documentation: https://github.com/ncipollo/release-action | ||
|