Releasing a new version#
This section describes the process of releasing a new version of LaTeXBuddy. We
do not have a release schedule; the releases are usually published whenever we
want to. This may be changed later to a model where every push to master
publishes a new version.
Note
LaTeXBuddy is not being published to PyPI as of now. The only way to get it is from GitLab Package Registry. See install docs for more information.
Requirements for a release#
The releases are usually started by the maintainers. To kick off the initial
release discussion, one has to create a new branch off the master
branch and
name it release/<VERSION>
. For example: release/0.5.0
. Then, a merge
request with the title “Draft: Prepare release <VERSION>” has to be created.
Upon creating the release, one has to do various checks before the merge request can be un-drafted. This includes:
running tests under every Python version (is usually done by the CI)
compiling the CHANGELOG with Towncrier:
towncrier build --version <VERSION> --yes
checking newly documentation for correct rendering
After doing all that, the merge request can be un-drafted. It still has to get a review of at least one maintainer before it can be merged.
Releasing#
Once the release is checked and everything seems fine, a maintainer can proceed with the release:
Merge the request into the
master
branchAfter the pipeline has completed, create a tag
v<VERSION>
on the latest commitWait for the release pipeline to publish the package and to create a new release