Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Aug 22, 2024
1 parent 93b9f20 commit 8e54069
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 8e54069

Please sign in to comment.