Skip to content

Commit

Permalink
Update make-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gade01 committed Jun 24, 2021
1 parent f85cfa7 commit 9c65894
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
changes="${changes//$'\r'/'%0D'}"
changes="${changes//$'[B]'/'**'}"
changes="${changes//$'[/B]'/'**'}"
changes="${changes//$'[I]'/'%0A%0A%0A*'}"
changes="${changes//$'[I]'/'%0A%0A%0A%0A*'}"
changes="${changes//$'[/I]'/'*'}"
echo ::set-output name=changes::$changes
working-directory: ${{ github.event.repository.name }}
Expand All @@ -52,7 +52,8 @@ jobs:
id: zip-matrix
run: |
version=$(xmlstarlet sel -t -v 'string(/addon/@version)' addon.xml)
filename=skin.rapier-${version}.zip
id=$(xmlstarlet sel -t -v 'string(/addon/@id)' addon.xml)
filename=${id}-${version}.zip
cd ..
zip -r $filename ${{ github.event.repository.name }}
echo ::set-output name=filename::$filename
Expand All @@ -65,7 +66,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Matrix ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{ steps.changelog.outputs.changes }}
draft: false
prerelease: ${{ steps.release.outputs.pre-release }}
Expand Down

0 comments on commit 9c65894

Please sign in to comment.