Skip to content

Commit

Permalink
Release drafter improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
0lejk4 committed Jul 8, 2022
1 parent a699e53 commit b80ab7d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
- name: Extract version from commit message
run: |
version=${GITHUB_REF/refs\/tags\/v/}
echo "VERSION=$version" >> $GITHUB_ENV
env:
COMMIT_MSG: ${{ github.event.head_commit.message }}
- name: Draft release notes
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
publish: false
Expand Down

0 comments on commit b80ab7d

Please sign in to comment.