-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix version bumping for pre-releases #1610
Conversation
Currently the version in the top-level Line 3 in 086a81d
But for |
I agree, do you think there is a way to do that using tbump ? |
hmm not sure. But an alternative could be to run a small script as a version.replace('a', '-alpha.').replace('b', '-beta.').replace('rc', '-rc.') Similar to the cookiecutter but the other way around: https://github.com/jupyterlab/extension-cookiecutter-ts/blob/a706ffd9d5d2c2813c427d571caaab77014dae17/%7B%7Bcookiecutter.python_name%7D%7D/setup.py#L40-L45 And write the modified version back to |
It seems that the 2 hooks available in |
Right I meant a Jupyter Releaser hook. Just pushed e69c9b5 to try something along these lines, will check what the check release CI job does. |
Nice @jtpio In |
Looks like the Restarting them to see if they are just flaky. |
This is related to |
Done in #1611 |
@brichet this PR was rebased and CI is now passing, if you would like to have another look. Happy to attempt a new release right after to see if that goes better that time. |
Everything seems OK for me. |
Alright then let's get it in and I'll start the pre-release process right after. |
Looks like the "Draft Changelog" workflow went through this time: #1613 |
Running the Draft Changelog on the
main
branch failed with the following error:https://github.com/jtpio/jupyter_releaser/runs/7023597896?check_suite_focus=true
This looks related to bumping the version for pre-releases.
This change should fix it.