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.
2 parents 5b41576 + 5d26578 commit d64e1fcCopy full SHA for d64e1fc
.github/workflows/build.yml
@@ -76,7 +76,7 @@ jobs:
76
- name: Get changelog
77
id: get_changelog
78
run: |
79
- echo "changelog=$(awk -v RS='---' -v version=${{ env.version }} '$0 ~ version {sub(/## /, ""); print; exit}' ./CHANGELOG.md)" >> $GITHUB_ENV
+ echo "changelog=$(grep -A1 -x "## ${version}" CHANGELOG.md | sed -n '2p' | sed 's/^[- ]*//')" >> $GITHUB_ENV
80
81
- name: Create Release
82
id: create_release
0 commit comments