Skip to content

Commit

Permalink
modified prerelease to generate the release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
CloneDeath committed Aug 23, 2023
1 parent 33e4173 commit f4aceb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Extract release notes
run: |
git log --pretty=format:'%d %s' ${GITHUB_REF} | perl -pe 's| \(.*tag: v(\d+.\d+.\d+(-preview\d{3})?)(, .*?)*\)|\n## \1\n|g' > RELEASE-NOTES
- name: Set VERSION variable from tag
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Pack
Expand Down

0 comments on commit f4aceb6

Please sign in to comment.