- Make sure the version in
meson.build
is correct - Create a branch
$ git checkout -b release-${version}
- Update translations
$ ninja -C ${builddir} xdg-desktop-portal-update-po
$ git add po/
$ git commit -m "Update translations"
- Add your changelog to the
NEWS.md
file
$ git add NEWS.md
$ git commit -m ${version}
- Push your branch
$ git push -u ${fork} release-${version}
- Open a pull request
NOTE: Only project maintainers can create a tag.
Make sure that:
- You're on the
main
branch, or a stable branch; - The tip of the branch is a release commit (e.g.
1.19.4
) - The version in
meson.build
is correct
Then create the tag:
$ git evtag sign ${version}
$ git push -u origin ${version}
- Update version number in
meson.build
to the next release version - Start a new section in
NEWS.md
Changes in ${nextVersion}
=================
Released: Not yet
...
After creating a stable branch:
- Update version number in
meson.build
to the next unstable release version - Update
SECURITY.md
- Update
.github/ISSUE_TEMPLATE/bug-report.yml