Skip to content

Commit

Permalink
fix: fix release yml (#571)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Shih <jushih@amazon.com>
  • Loading branch information
Jshhhh and Justin Shih committed Aug 6, 2022
1 parent 2882730 commit aafaccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Get Version Number
id: get-version-number
run: |
version_number=$(echo "${{github.event.head_commit.message}}" | sed -e "s/^chore(release): v//" -e "s/ (#[[:digit:]]\+)$//")
version_number=$(echo "${{github.event.head_commit.message}}" | sed -n "s/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/p")
echo "::set-output name=version_number::$version_number"
- name: Get Release Description
run: npx -y changelog-parser CHANGELOG.md | jq -r '.versions[0].body' > release_description.md
Expand Down

0 comments on commit aafaccb

Please sign in to comment.