-
Notifications
You must be signed in to change notification settings - Fork 41
Release Checklist
Michal Fabik edited this page Sep 13, 2022
·
11 revisions
- Update the version info of all shared libraries (steps taken from libtool manual; more info here):
- In src/lib/Makefile.am and src/gtk-helpers/Makefile.am locate lines with
-version-info c:r:a
, where c (current), r (revision) and a (age) are numbers. Follow these steps when updating them:- If the library source code has changed at all since the last update (since last release), then increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
- If any interfaces have been added, removed, or changed since the last update, increment current, and set revision to 0.
- If any interfaces have been added since the last public release, then increment age.
- If any interfaces have been removed or changed since the last public release, then set age to 0.
- In src/lib/Makefile.am and src/gtk-helpers/Makefile.am locate lines with
- Write release notes in
CHANGELOG.md
and stage it for commit. - Run
tito tag --use-version=x.y.z
, where
x = x + 1; y = 0; z = 0
for major releases (significant changes/new features, backwards compatibility is essentially broken)
y = y + 1; z = 0
for minor releases (backwards-compatible changes/features)
z = z + 1
for bug-fix releases (no changes besides bug fixes) - Run
git push <remote>
to push the file changes - Run
git push <remote> <new-version>
to push the new version tag- A new tag being pushed triggers a GitHub Actions workflow, resulting in a new release being created
- A new release being created triggers a Packit-as-a-Service job, resulting in pull requests being created in dist-git for all active branches - review and merge them
- A new tag being pushed triggers a GitHub Actions workflow, resulting in a new release being created
- Build packages for Fedora:
$ packit build in-koji --dist-git-branch=fedora-all
- If there’s need to build in a side tag, then
packit build
also accepts--koji-target
; pass the tag name you get from e.g.fedpkg request-side-tag --base-tag=f32-build
(the base tag will vary for each Fedora version) - If
packit
tracebacks on you, try uninstallingpython3-gdal
. There's long been a conflict between this package andpython3-ogr
, which packit is using.
- If there’s need to build in a side tag, then
- Create an update in Bodhi:
$ packit create-update --dist-git-branch=fedora-all …
(pass other arguments as needed, e.g.--update-notes
and--update-type
)