Overview
Artifact ID: | 13066b6ce42f3ffcbe9c7d11d87dfd8bfaf239d7e581b3a896d1e6e8d8b938b1 |
---|---|
Page Name: | Release process |
Date: | 2024-01-15 21:14:53 |
Original User: | js |
Mimetype: | text/x-markdown |
Parent: | 712d178a4ae89cf4e6a63a1877d4207af655db4bebea30963f1adfd0b583c643 (diff) |
Next | 1c7a8bc2cd9ce1b688f9e8529188695365c9186ae87020ef778cf8493a8db2b9 |
Content
Release process
- Update the
ChangeLog
and cherry-pick the change intotrunk
. - Make sure the library version has been increased for all libraries that had changes / bug fixes. Don't forget to increase the minor for every library that had new features added and the patch level for every library that had bug fixes!
- Change the version in
AC_INIT
and theBUNDLE_VERSION
inconfigure.ac
and commit. This commit should have the${version}-release
tag! - Push and make sure the tag propagates to Git as well.
- Run
fossil up ${version}-release
and runfossil clean -x -v
, then./autogen.sh && ./configure
. Don't forget this, or the version might be wrong! - Generate and sign tarballs using
make release
. - Extract
objfw-${version}.tar.gz
andobjfw-docs-${version}.tar.gz
as well asobjfw-${previousVersion}.tar.gz
andobjfw-docs-${previousVersion}.tar.gz
. Then diff the current against the previous version and check nothing unexpected is in there. - Upload the tarballs and their signatures.
- Extract the new documentation and put it here.
- Update the
LATEST
symlink. - Update the Releases page.
- Update the News page.
- Announce the new release on the Fediverse.
- Announce the new release in the Matrix room.
Distributions
Repology is great for tracking what distribution is at what version, though it is neither exhaustive nor always update to date.
pkgsrc
In devel/objfw
:
- Edit
Makefile
to increase version. - Run
make makesum
to updatedistinfo
. Check it is correct. - Run
make package
. - Run
make update-PLIST >PLIST
to update thePLIST
. Look at the diff and fix any customPLIST
entries that this reverted. Pay attention to what is already in the otherPLIST.*
files!
Fedora
- Make sure to be on rawhide.
- Increase version in
objfw.spec
andgit add
it. - Download the tarball and signature via
spectool -g objfw.spec
. fedpkg upload
bothobjfw-${version}.tar.gz
andobjfw-${version}.tar.gz.sig
.- Remove the old version from
sources
and.gitignore
, thengit add
both. git commit -m "Update to ${version}"
for i in f38 f39 epel8 epel9; do git checkout $i && git merge rawhide; done
git push
for i in rawhide f38 f39 epel8 epel9; do git checkout $i && fedpkg build --nowait; done
- Wait for the builds to be done, then create the updates on Bodhi. Set the Karma required to 1.
Homebrew
- Edit the Formula on GitHub to increase the version and update the hash.
- Create a draft pull request. This will trigger CI.
- Once CI passed, click on
Ready for review
.
MSYS2
- Edit the
PKGBUILD
file to increase the version and update the hash. - Create a draft pull request. This will trigger CI.
- Once CI passed, click on
Ready for review
.