Skip to content

Commit

Permalink
test:version changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Guovin committed Mar 27, 2024
1 parent 62028f7 commit a86f7df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
- name: Get changelog
id: get_changelog
run: |
echo "changelog=$(sed -n '/## ${env.version}/,/^##/p' CHANGELOG.md)" >> $GITHUB_ENV
echo "changelog=$(sed -n '/## ${{ env.version }}/,/^##/p' CHANGELOG.md)" >> $GITHUB_ENV
- name: Print Changelog
run: |
echo "Changelog: ${{ env.changelog }}"
- name: Create Release
id: create_release
Expand Down

0 comments on commit a86f7df

Please sign in to comment.