Release
Last updated
You're the product owner now. The sprint's stories are done, tested and green. In this lesson you'll choose the version number by the rules rather than by feel, write the changelog for developers and the release notes for the health centres, tag the release, and publish it.
By the end of this lesson you can
- Choose a version number with semantic versioning
- Write a changelog entry and release notes for two different readers
- Tag and publish a release
Which version?
Pila is at 1.1.0. Kap. Ernesto wants to announce this as “Pila 2.0”: it's the biggest change since launch.
Set the version in pyproject.toml and in pila/__init__.py to 1.2.0, on a release branch, and commit.
The changelog
The changelog is for developers and integrators: what changed, so they can tell whether it affects them (lesson 7.4). Add the entry to CHANGELOG.md:
- Headed 1.2.0 (done)
- Added: the reminders (not yet)
- STOP is mentioned (not yet)
- The 30 days are mentioned (not yet)
- Issue numbers (not yet)
Release notes for Ate Cora
The release notes are for the six health centres. They don't care about modules or issue numbers; they care about what's different at the counter on Monday.
- Says what mothers get (not yet)
- Says staff must ask the mother first (not yet)
- Says how mothers stop them (not yet)
- Says who to contact (not yet)
- No jargon (done)
Save them as docs/release-notes-1.2.0.md. A real team would also give each health centre a short demonstration, and print the notes for the counter.
Tag and publish
Merge the release branch once the pipeline is green. Then, on main, mark the release with an annotated tag (Simple Git's Tags) and push it:
git switch main git pull git tag -a v1.2.0 -m "Pila 1.2.0: vaccination reminders" git push origin v1.2.0 git log --oneline -1 --decorate 9b7d3e1 (HEAD -> main, tag: v1.2.0, origin/main) Release 1.2.0
On GitHub, open Releases, choose Draft a new release, pick the tag v1.2.0, and paste the changelog entry as the description. Publish it. Checked on 6 December 2026.
Without GitHub: the tag is the release. git show v1.2.0 shows who tagged it, when and why.
Move every card for the sprint to Done, and close the 1.2.0 milestone if you made one.
Check your release
Sources
Every claim on this page comes from these sources: the standard, the founding text of a method, a study, or the official record of a project, from the body that publishes it. Industry reports are labelled as such.
- Semantic Versioning 2.0.0: when to raise which number
- Keep a Changelog: Added, Changed, Fixed, and the rest
- Git documentation: git-tag: annotated tags
- GitHub Docs: Managing releases in a repository: publishing a release from a tag