Skip to content

Commit

Permalink
Fixed release notes GHA to use the resolved version.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jan 9, 2024
1 parent bb3109e commit 8c54721
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name-template: 'v$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
default: minor
template: |
## What's new since $PREVIOUS_TAG
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$NEXT_MINOR_VERSION
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
$CONTRIBUTORS
2 changes: 2 additions & 0 deletions .github/workflows/release-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ${{ env.NEW_VERSION }}
tag: ${{ env.NEW_VERSION }}
version: ${{ env.NEW_VERSION }}
publish: true

0 comments on commit 8c54721

Please sign in to comment.