From 773130490b09fd9dad66061be96c770a6d1a8cdc Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 8 Jul 2022 09:30:37 -0500 Subject: [PATCH] fix handling of --use-changelog-version --- .github/actions/draft-release/action.yml | 1 + jupyter_releaser/actions/draft_release.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/draft-release/action.yml b/.github/actions/draft-release/action.yml index 2b1a9af7..de44949e 100644 --- a/.github/actions/draft-release/action.yml +++ b/.github/actions/draft-release/action.yml @@ -58,6 +58,7 @@ runs: export RH_SINCE=${{ inputs.since }} export RH_SINCE_LAST_STABLE=${{ inputs.since_last_stable }} export RH_STEPS_TO_SKIP=${{ inputs.steps_to_skip }} + export RH_USE_CHANGELOG_VERSION=1 # Draft Release python -m jupyter_releaser.actions.draft_release diff --git a/jupyter_releaser/actions/draft_release.py b/jupyter_releaser/actions/draft_release.py index 401b001e..5cfd58e6 100644 --- a/jupyter_releaser/actions/draft_release.py +++ b/jupyter_releaser/actions/draft_release.py @@ -53,7 +53,7 @@ os.chdir(curr_dir) -run_action("jupyter-releaser bump-version --use-changelog-version") +run_action("jupyter-releaser bump-version") with make_group("Handle Check Release"): if check_release: