The recommended way to make a release is to use jupyter_releaser.
-
Create and push a commit to
mainthat updates individual package version numbers.yarn yarn run update:versions # Update yarn.lock yarn git commit -a -m "Update versions" git push origin main
If you forget to bump the versions and need to undo:
git revert <version-bump-commit-sha> git push origin main git push --delete origin <version-tag>
-
Run the Step 1: Prep Release action with the default arguments.
-
Run the Step 2: Publish Release action with the default arguments.
To create a manual release, perform the following steps:
Check for releases since the last published version to determine appropriate patch/minor/major version changes. If a dependent package moves by minor/major, then that package needs to jump minor/major as well.
git clean -dfx
yarn
yarn run update:versions
# Update the changelog with changed packages (minor or higher) and included PRs.
# Tag the release with the date, e.g. 2021.4.9
#
yarn run publish
# Push any changes to main