Releases¶
Versioning¶
We try to follow the PEP 440 versioning scheme, which is mostly based on semantic versioning.
Procedure¶
- Make sure you're on
mainbranch and it is up-to-date. - Add an entry in changelog.md. Remember to give thanks to all the contributors! Commit this change.
-
Update version using
tbump. Runpipx run tbump <new-semantic-version-number>.Note: You may need to install
pipxfirst if it's not already installed. Follow the instructions atpipxdocumentation.Executing
tbumpwill create a commit containing version updates to necessary files (i.e.tbump.toml,pyproject.toml), create a new tag from for the new version from the currentrefinmainbranch, and finally push the commits and tag to remote.Following the above steps when a new tag is created, GitHub Action workflow will do following:
- Create a docker image containing new version of gitlabform and publish to github's package registry under gitlabform.
- Upload new version of gitlabform to pypi package registry under gitlabform.
- A corresponding GitHub release will be created that references the new tag.
-
Edit the release in GitHub and copy the changelog entry into its description.