Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
ci: tweak publish_github_release helper
Browse files Browse the repository at this point in the history
- there's no need to pass specify the version when drafting
- it's better to use `python -m towncrier` (to make sure we're
  using the correct version / Python interpreter)
  • Loading branch information
benoit-pierre committed Apr 15, 2021
1 parent d0b1081 commit 3ab4180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ publish_github_release()
is_prerelease='yes'
overwrite='yes'
notes_body='news_draft.md'
run_eval "towncrier --draft --version '$RELEASE_VERSION' >$notes_body" || die
run_eval "'$python' -m towncrier --draft >$notes_body" || die
;;
tagged)
tag="${GITHUB_REF#refs/tags/}"
Expand Down

0 comments on commit 3ab4180

Please sign in to comment.