-
Notifications
You must be signed in to change notification settings - Fork 325
Release Process
Tom Herbers edited this page Sep 30, 2023
·
10 revisions
This document describes the steps that were done when v2018.1.2 was released.
The target branch can be master
for a major release, or a stable branch for minor releases. Major versions are always tagged on the master branch before forking, so git describe
returns useful version identifiers.
- Create a branch off the to be released branch:
- Major release:
git checkout -b release/v2021.1 master
- Minor release:
git checkout -b release-notes/v2018.1.2 v2018.1.x
- Major release:
- Create release notes at
docs/releases/<tag>.rst
$EDITOR docs/releases/v2018.1.2.rst
- Reference the new release notes in
docs/index.rst
$EDITOR docs/index.rst
- Commit and Push
git commit -S -m "docs: Add v2018.1.2 release notes"
git push
- Create Pull Request against the target branch and make changes addressing issues mentioned
$EDITOR docs/releases/v2018.1.2.rst
$EDITOR docs/releases/index.rst
git commit --amend
git push --force
- Update references to the latest version in
- README.md
- contrib/ci/minimal-site/site.conf
- contrib/ci/olsr-site/site.conf
- docs/conf.py
- docs/site-example/site.conf
- docs/user/getting_started.rst
- Verify & Commit
-
make lint
(until the last supported release without lint-editorconfig (2022.1.x) is not anymore.) git commit -S -m "docs, README: Gluon v2018.1.2"
git push
-
- Merge Pull Request into target branch
- Create and push a signed tag
git checkout v2018.1.x
git pull
git tag -s v2018.1.2 -m "Gluon v2018.1.2"
git push origin v2018.1.2
- Create a stable branch (major releases only)
git checkout -b v2021.1.x master
git push -u origin v2021.1.x
- Enable the documentation build for the new stable branch on https://readthedocs.org/projects/gluon/versions/
- Create a release over on Github
- "Draft a new release" on https://github.com/freifunk-gluon/gluon/releases
- Add the URL to the release notes on https://gluon.readthedocs.org to the description
If the release was a minor one, then the latest documentation and version references need to be forward-ported to the master branch, so that they appear on GitHub and in the documentation on https://gluon.readthedocs.org.
- Switch to master branch
git checkout master
git pull
- Cherry pick the first commit to your local master branch
- Update version references in
- README.md
- docs/user/getting_started.rst
- Squash changes into the cherry-picked commit
git commit --amend -S
- Push to master branch
- Write a signed announce mail (you need to be subscribed to these lists in order not to have the mail bounced)
- Change Topic of #gluon on hackint.org
-
Usage
-
Community
-
Development
- Device Integration
- Roadmap
- Release-life-cycle
- Protocols
- Meeting 2024/05
- Meeting 2024/03
- Meeting 2024/02
- Meeting 2024/01
- Meeting 2023/06
- Meeting 2023/05
- Meetup-CCCamp
- Meeting 2023/04
- Meeting 2023/03
- Meeting 2023/02
- Meeting 2023/01
- Meeting 2022/06
- Meeting 2022/05
- Meeting 2022/04
- Meeting 2022/03
- Meeting 2022/02
- Meeting 2022/01
- Meeting 2021/01
- Meeting 2019/01
- Meeting 2018/03
- Meeting 2018/02
- Meeting 2018/01
- Meeting 2017/01
- Concepts
- Release Process
-
Debugging