-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Just synced the releaser fork to the latest and getting the following when running the "Publish Release" workflow:
Initialized empty Git repository in /home/runner/work/jupyter_releaser/jupyter_releaser/.jupyter_releaser_checkout/.git/
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
refs/heads/main
Usage: jupyter-releaser [OPTIONS] COMMAND [ARGS]...
Try 'jupyter-releaser --help' for help.
Error: No such command 'ensure-sha'.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/jupyter_releaser/actions/populate_release.py", line 30, in <module>
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/jupyter_releaser/actions/common.py", line 21, in run_action
_run(target, *args, **kwargs)
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/jupyter_releaser/util.py", line 92, in run
log("stdout:\n", e.stdout.strip(), "\n\n")
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/jupyter_releaser/util.py", line 84, in run
try:
File "/opt/hostedtoolcache/Python/3.10.7/x64/lib/python3.10/site-packages/jupyter_releaser/tee.py", line 155, in run
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command 'jupyter-releaser ensure-sha' returned non-zero exit status 2.
Prepare Environment
jupyter-releaser prep-git
Reproduce
Example run: https://github.com/jtpio/jupyter_releaser/actions/runs/3219545693/jobs/5265049713
Happening while trying to release voila: https://github.com/voila-dashboards/voila/releases/tag/untagged-e54d686da3fbaad8aa3c
Expected behavior
Context
This looks related to the changes in #435.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working