jupyter-launcher-shortcuts
is a package available on PyPI. These are
instructions on how to make a release.
- Push rights to github.com/2i2c-org/jupyter-launcher-shortcuts
-
Create a PR updating
labextension/yarn.lock
and continue only when its merged.This helps us avoid leaving known vulnerabilities are unfixed. To do this, delete the file and manually perform the the
build dist
step in the.github/workflows/release.yaml
workflow'sbuild
job as summarized below.# git clean -xfd can be needed to ensure yarn.lock # gets re-created during pyproject-build rm labextension/yarn.lock pip install --upgrade pip build pyproject-build
-
Create a PR updating
CHANGELOG.md
with github-activity and continue only when its merged. -
Checkout main and make sure it is up to date.
git checkout main git fetch origin main git reset --hard origin/main
-
Update the version, make commits, and push a git tag with
tbump
.pip install tbump tbump --dry-run ${VERSION} # run tbump ${VERSION}
Following this, the CI system will build and publish a release.
-
Reset the version back to dev, e.g.
4.0.1-0.dev
after releasing4.0.0
.tbump --no-tag ${NEXT_VERSION}-0.dev