Skip to content

Commit

Permalink
fix: fix release yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Shih committed Aug 5, 2022
1 parent 2882730 commit e42f22c
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 -e "s/[^0-9\.]//g")
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 e42f22c

Please sign in to comment.