Skip to content

Commit b596851

Browse files
committed
Explicit forward-port to the default branch
1 parent 4547154 commit b596851

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jupyter_releaser/actions/publish_release.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
# Distributed under the terms of the Modified BSD License.
33
import os
44

5-
from jupyter_releaser.util import run
5+
from jupyter_releaser.util import get_default_branch, run
66

77
release_url = os.environ["release_url"]
8+
default_branch = get_default_branch()
89

910
if release_url:
1011
run(f"jupyter-releaser extract-release {release_url}")
11-
run(f"jupyter-releaser forwardport-changelog {release_url}")
12+
run(f"jupyter-releaser forwardport-changelog {release_url} --branch {default_branch}")
1213

1314
run(f"jupyter-releaser publish-assets {release_url}")
1415

0 commit comments

Comments
 (0)