-
Notifications
You must be signed in to change notification settings - Fork 66
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
Populate release as part of the Step 1: Prep Release
workflow?
#552
Comments
Yeah, that should work, without any changes to core. |
Maybe one drawback of this approach if that the release commit is pushed during the Which means that if the maintainer wants to delete the draft GitHub release, they would also have to revert that commit too. |
Yeah, I don't see a way around that, since the assets are tied to the version bump commit. |
Seeing built artifacts as a part of the prep release would help to diagnose problems with built artifacts like here #592 before they would fail at publish release preventing some assets from uploading. |
Maybe we could look into decoupling the assets upload from the commit to allow for this. |
For what it's wort, jupyter-scheduler artifacts are uploaded in You can then go to |
Problem
Running the
Step 1: Prep Release
is a good way to check the version is correctly bumped, and the changelog correctly created.However this workflow does not populate the draft GitHub release with the built artifacts (wheel, sdist, npm tarballs), as this is done as part of the
populate-release
step in theStep 2: Publish Release
workflow.Maintainers might sometimes want to make sure the built assets are correct, and perform some manual checks.
Proposed Solution
This likely does not require any change to the releaser core functionality. Maybe just moving this step:
jupyter_releaser/example-workflows/publish-release.yml
Lines 25 to 32 in 8568b9b
To this workflow: https://github.com/jupyter-server/jupyter_releaser/blob/main/example-workflows/prep-release.yml
I guess one could try that on a test repo first to see if the whole flow would still work fine.
Additional context
cc @martinRenou who I think was mentioning this after using the
python_packages
configuration of the releaser for https://github.com/voila-dashboards/voiciThe text was updated successfully, but these errors were encountered: