Skip to content

Commit

Permalink
Re-enable pushing changelog along with release body
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontanini committed Feb 3, 2024
1 parent 5423b21 commit b616971
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
> presenterm-${{ env.RELEASE_VERSION }}-${{ matrix.config.TARGET }}.tar.gz.sha512
fi
# - name: Parse release notes
# id: read_release_notes
# shell: bash
# run: |
# r=$(./scripts/parse-changelog.sh v${{ env.RELEASE_VERSION }})
# r="${r//'%'/'%25'}"
# r="${r//$'\n'/'%0A'}"
# r="${r//$'\r'/'%0D'}"
# echo "RELEASE_NOTES=$r" >> $GITHUB_OUTPUT
- name: Parse release notes
id: read_release_notes
shell: bash
run: |
r=$(./scripts/parse-changelog.sh v${{ env.RELEASE_VERSION }})
r="${r//'%'/'%25'}"
r="${r//$'\n'/'%0A'}"
r="${r//$'\r'/'%0D'}"
echo "RELEASE_NOTES=$r" >> $GITHUB_OUTPUT
- name: Upload the release
uses: svenstaro/upload-release-action@v2
Expand All @@ -89,8 +89,8 @@ jobs:
file_glob: true
overwrite: true
tag: ${{ github.ref }}
# body: |
# ${{ steps.read_release_notes.outputs.RELEASE_NOTES }}
body: |
${{ steps.read_release_notes.outputs.RELEASE_NOTES }}
publish-crates-io:
name: Publish on crates.io
Expand Down

0 comments on commit b616971

Please sign in to comment.