Skip to content

Commit

Permalink
Merge pull request #6 from DC23/orffen#76-Release-Automation
Browse files Browse the repository at this point in the history
Removing default artifacts and fixing zip path in manifest
  • Loading branch information
DC23 authored Nov 27, 2024
2 parents 03e3c68 + de06505 commit c55f29b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
version: ${{github.event.release.tag_name}}
url: https://github.com/${{github.repository}}
manifest: https://github.com/${{github.repository}}/releases/latest/download/system.json
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}.zip
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.name}}/${{github.event.release.tag_name}}.zip

# Create a zip file with all files required by the module to add to the release
- run: zip -r ./${{github.event.release.tag_name}}.zip system.json template.json LICENSE lang/ module/ styles/ templates/
Expand All @@ -37,6 +37,7 @@ jobs:
allowUpdates: true # Set this to false if you want to prevent updating existing releases
draft: false
prerelease: false
removeArtifacts: true # does this remove the default artifacts?
artifacts: './system.json, ./${{ github.event.release.tag_name }}.zip'
tag: ${{ github.event.release.tag_name }}
body: ${{ github.event.release.body }}

0 comments on commit c55f29b

Please sign in to comment.