Skip to content

Commit 5c06f43

Browse files
author
Drew Yang
committed
fix: πŸ› update draft release logic
1 parent a9c9da2 commit 5c06f43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Ž.github/release_drafter.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version-resolver:
1010
- 'documentation'
1111
- 'enhancement'
1212
- 'bug'
13-
name-template: 'Release $RESOLVED_VERSION'
13+
name-template: '$RESOLVED_VERSION'
1414
tag-template: 'v$RESOLVED_VERSION'
1515
categories:
1616
- title: 'πŸ’₯ Breaking Changes'

β€Ž.github/workflows/draft_release.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
with:
2727
config-name: release_drafter.yaml
2828
disable-autolabeler: true
29-
name: ${{ github.event.inputs.testpypi == 'true' && 'test' || github.event.release.name }}
29+
name: ${{ github.event.inputs.testpypi == 'true' && format('Test {0}',github.event.release.name) || format('Release {0}',github.event.release.name) }}
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
Β (0)