Skip to content

Commit

Permalink
Update release file: fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianTM committed Jun 20, 2024
1 parent a6ec583 commit 77b25f0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
id: get-changelog
run: |
changelog=$(awk '/^custom-toolbox/{i++} i==1' debian/changelog | grep '^[[:space:]]*\*')
changelog=$(echo "$changelog" | sed ':a;N;$!ba;s/\n/\\n/g') # Format newlines for GitHub Actions
echo "changelog=$changelog" >> $GITHUB_ENV
echo "changelog<<EOF" >> $GITHUB_ENV
echo "$changelog" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Create Release
id: create_release
Expand All @@ -32,5 +33,6 @@ jobs:
Changelog:
${{ env.changelog }}
draft: false
prerelease: false

0 comments on commit 77b25f0

Please # to comment.