Skip to content

Commit

Permalink
Fix CI release generation
Browse files Browse the repository at this point in the history
This change fixes an issue with the release pipeline.
  • Loading branch information
fabianishere committed Jan 27, 2023
1 parent 9d69cbe commit ac19b0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ jobs:
run: |
ref="${{ github.ref}}"
release_name=${ref#"refs/tags/"}
echo "release::$release_name" >> $GITHUB_OUTPUT
echo "release=$release_name" >> $GITHUB_OUTPUT
changelog=$(dpkg-parsechangelog -c 1 -l debian/changelog)
changelog="${changelog//'%'/'%25'}"
changelog="${changelog//$'\n'/'%0A'}"
changelog="${changelog//$'\r'/'%0D'}"
echo "changelog<<EOF\n$changelog\nEOF" >> $GITHUB_OUTPUT
echo "changelog=<<EOF\n$changelog\nEOF" >> $GITHUB_OUTPUT
- name: Create Release
uses: softprops/action-gh-release@v1
env:
Expand Down

0 comments on commit ac19b0b

Please sign in to comment.