Skip to content

Commit 7bd6194

Browse files
committed
ci: tweak publish_github_release helper
- there's no need to specify the version when drafting - it's better to use `python -m towncrier` (to make sure we're using the correct version / Python interpreter)
1 parent 25bc49e commit 7bd6194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ publish_github_release()
132132
is_prerelease='yes'
133133
overwrite='yes'
134134
notes_body='news_draft.md'
135-
run_eval "towncrier --draft --version '$RELEASE_VERSION' >$notes_body" || die
135+
run_eval "'$python' -m towncrier --draft >$notes_body" || die
136136
;;
137137
tagged)
138138
tag="${GITHUB_REF#refs/tags/}"

0 commit comments

Comments
 (0)