Skip to content

Commit c39b6bb

Browse files
authored
Merge pull request #6 from PaulWebster/patch-1
Update zip-and-release.yml to set version in install.xml before zip
2 parents d292444 + 3b876b7 commit c39b6bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/zip-and-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919

2020
- name: Zip plugin and update repo.xml
2121
run: |
22+
xmlstarlet ed --inplace --update "//extension/version" --value "${{ github.event.inputs.version }}" install.xml
2223
zip -r ${{ github.event.repository.name }}-${{ github.event.inputs.version }}.zip . -x ".git/*" ".github/*" "repo.xml"
2324
export SHA1SUM=`sha1sum "${{ github.event.repository.name }}-${{ github.event.inputs.version }}.zip" | awk '{ print $1 }'`
2425
export ZIP_URL="https://github.com/${{ github.repository }}/releases/download/${{ github.event.inputs.version }}/${{ github.event.repository.name }}-${{ github.event.inputs.version }}.zip"

0 commit comments

Comments
 (0)