jupyterlab-topbar
jupyterlab-topbar copied to clipboard
Add script to auto bump version in top level
-
The script ensures that version in top level
package.json
would be consistent with packages -
Run this script after bump version step in
jupyter-releaser
@jtpio Do you think a simple script like this would be enough for stream lining releases?
Thanks @mahendrapaipuri for looking into this.
Yes it should be fine for now if we always bump all the packages together during a release. Maybe we can later investigate how the packages could be versioned independently.
What do you think about following workflow for independent versionining:
- We skip
bump-version
step ofjupyter-releaser
- We bump versions of few or all packages manually with a separate PR. Versions can be different for different packages
- The current custom script will bump the version of top level
package.json
automatically. The tag will be created in the repo based on this version and so we should choose a versioning strategy that is meaningful. - In the prep-release workflow, we create an additional
input
likepackages
and we will pass the packages that have been bumped from this input. We pass this information tojupyter-releaser
using env varRH_PYTHON_PACKAGES
.
This will still build npm
artifacts for all packages and attempt to publish them. I am not sure if npm
registry throws an error if we are attempting to publish the same version of the package or ignores it.