Create the zip after updating the system.json
This commit is contained in:
parent
85103c0568
commit
e5f0a1d5d6
1 changed files with 3 additions and 3 deletions
6
.github/workflows/draft-release.yml
vendored
6
.github/workflows/draft-release.yml
vendored
|
|
@ -36,9 +36,6 @@ jobs:
|
|||
# Compile the stuff that needs to be compiled
|
||||
- run: npm run build
|
||||
|
||||
- name: Create the zip
|
||||
run: zip -r ${{ vars.zip_name || 'release' }}.zip ${{ vars.files_to_release }}
|
||||
|
||||
- name: Move system.json to a temp file
|
||||
id: manifest-move
|
||||
run: mv system.json system.temp.json
|
||||
|
|
@ -47,6 +44,9 @@ jobs:
|
|||
id: manifest-update
|
||||
run: cat system.temp.json | jq -r --tab '.download = "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/${{ vars.zip_name }}.zip"' > system.json
|
||||
|
||||
- name: Create the zip
|
||||
run: zip -r ${{ vars.zip_name || 'release' }}.zip ${{ vars.files_to_release }}
|
||||
|
||||
- name: Create the draft release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue