Skip to content

Commit f3aec83

Browse files
committed
Restore guard to pip install if releaser
1 parent 7057920 commit f3aec83

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jupyter_releaser/actions/draft_release.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
# Remove the checkout
2222
shutil.rmtree(CHECKOUT_NAME)
2323

24-
# Re-install the parent dir in case it was overshadowed
25-
run("pip install -e .")
24+
# Re-install the parent dir if it was overshadowed
25+
if os.environ.get("RH_REPO_NAME") == "jupyter_releaser":
26+
run("pip install -e .")
2627

2728
run("jupyter-releaser prep-git")
2829
run("jupyter-releaser bump-version")

0 commit comments

Comments
 (0)