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
93b9f20
commit 8e54069
Showing
1 changed file
with
10 additions
and
6 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 |
---|---|---|
|
@@ -68,6 +68,7 @@ jobs: | |
|
||
# Step 7: Run Changelog CI | ||
- name: Run Changelog CI | ||
if: github.ref == 'refs/heads/master' | ||
uses: saadmk11/[email protected] | ||
with: | ||
release_version: ${{ steps.version.outputs.version }} | ||
|
@@ -84,39 +85,42 @@ jobs: | |
# Step 9: Output the version | ||
- name: Copy the packadge files into the packadge | ||
run: | | ||
mkdir -p packadge/opencatalogi | ||
mkdir -p package/opencatalogi | ||
cp -r \ | ||
README.md \ | ||
CHANGELOG.md \ | ||
LICENSE.md \ | ||
appinfo \ | ||
css \ | ||
docs \ | ||
img \ | ||
js \ | ||
lib \ | ||
node_modules \ | ||
src \ | ||
templates \ | ||
vendor \ | ||
packadge/opencatalogi/ | ||
#Step 2: Create the .tar.gz archive | ||
- name: Create ZIP | ||
run: | | ||
zip -r opencatalogi.zip packadge | ||
zip -r opencatalogi.zip package | ||
- name: Create Tarball | ||
run: | | ||
tar -czf opencatalogi.tar.gz packadge | ||
tar -czf opencatalogi.tar.gz package | ||
# 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] | ||
with: | ||
# bodyFile: 'opencatalogi/changelog.md' | ||
artifacts: | | ||
packadge/LICENSE.md | ||
package/LICENSE.md | ||
opencatalogi.zip | ||
opencatalogi.tar.gz | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|