-
Notifications
You must be signed in to change notification settings - Fork 25
Releasing a new version
hannes edited this page Jun 21, 2023
·
1 revision
only admins and maintainers can release new versions
Find the current version, and use semver to decide the new version:
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes
- MINOR version when you add functionality in a backward compatible manner
- PATCH version when you make backward compatible bug fixes
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
- update the addon version in bqt/init.py, and the package version in setup.py
- Click
draft a new release
in the top right in releases - Click choose a tag, and type the new version in there to create a new tag for it.
Click
generate release notes
, and add a description and/or title for the release if needed. Feel free to leave them blank. - click the green 🟩
publish release
button, to create the release. This triggers a github action that publishes automatically to pypi: https://pypi.org/project/bqt/
If all went well you now should see a new release
- on github: https://github.com/techartorg/bqt/releases
- the pypi release action should have started, check on it's status in actions
- if the action failed, it's likely because you didn't update the version correctly in the
setup.py
.