Skip to content

Commit 3304042

Browse files
author
Drew Yang
committed
fix: πŸ› dynamic draft release name for testpypi
1 parent fa8b281 commit 3304042

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ categories:
3030
change-template: '- $TITLE(#$NUMBER)@$AUTHOR'
3131
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
3232
template: |
33+
DataJoint $RESOLVED_VERSION
3334
$CHANGES
3435
3536
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION

β€Ž.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: "Release ${{ github.event.release.tag_name }}"
29+
name: ${{ github.event.inputs.testpypi == 'true' && 'test' || 'Release Notes' }}
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
Β (0)