We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf15b0 commit 8922e1aCopy full SHA for 8922e1a
.github/workflows/main.yml
@@ -35,7 +35,7 @@ jobs:
35
- name: Extract Changelog for Current Release
36
id: extract_changelog
37
run: |
38
- content=$(awk "/^## \[${{ env.VERSION }}\] - /,/^## \[.*\] - /" CHANGELOG.md | tail -n +2 | head -n -1 | sed ':a;N;$!ba;s/\n/\\n/g')
+ content=$(sed -n "/^## \[${{ env.VERSION }}\] - /,/^## \[.*\] - /p" CHANGELOG.md | tail -n +2 | head -n -1 | sed ':a;N;$!ba;s/\n/\\n/g')
39
echo "RELEASE_NOTES=$content" >> $GITHUB_ENV
40
41
0 commit comments