Skip to content

Commit

Permalink
Merge pull request #195 from jtpio/default-branch
Browse files Browse the repository at this point in the history
Remove default branch logic
  • Loading branch information
Steven Silvester authored Oct 22, 2021
2 parents e6f503c + aebdf19 commit 95b14a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions jupyter_releaser/actions/publish_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@
# Distributed under the terms of the Modified BSD License.
import os

from jupyter_releaser.util import get_default_branch
from jupyter_releaser.util import run

release_url = os.environ["release_url"]
default_branch = get_default_branch()

if release_url:
run(f"jupyter-releaser extract-release {release_url}")
run(
f"jupyter-releaser forwardport-changelog {release_url} --branch {default_branch}"
)
run(f"jupyter-releaser forwardport-changelog {release_url}")

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

Expand Down

0 comments on commit 95b14a7

Please sign in to comment.