Update the package¶
Create a release branch from
main, for examplegit checkout -b release/<version>.Make the code/doc/notebook changes that the new release requires (bug fixes, dependency updates, README notes, etc.), then commit and push those updates so they land on the release branch.
Run
bumpver update --set-version <version>on that branch. The command will updatepyproject.toml,src/here_search_demo/__init__.pyand the projectREADME.md, create the version commit, tag it, and push to the remote.Open a PR from your release branch.
Ensure the PR’s
test.ymljobs finish green and that Codecov still reports data for the repo (https://app.codecov.io/gh/heremaps/here-search-demo).After the PR merges into
main, use “Draft a new release” in GitHub and select the tag created by bumpver.Publishing the release triggers the PyPI workflow and uploads the
here-search-demo-notebooks.zipasset automatically.