-
Notifications
You must be signed in to change notification settings - Fork 22
Release Checklist
Michal Fabik edited this page Mar 3, 2021
·
6 revisions
The following steps are partially automated by Makefile release-{major,minor} targets.
In upstream git repository (https://github.com/abrt)
- rename the
unreleased
section inNEWS
to the new version and create an emptyunreleased section
- create source (tarball)
- create a release commit
- create git tag
- push the created commit and tag into git repository.
- go to https://github.com/abrt/satyr/releases, draft a new release using the most recent tag (the one that you just pushed) and attach
satyr-X.Y.tar.gz
that was generated when you ranmake dist
Example for a minor release:
$ vim NEWS
$ git add NEWS
$ make release-minor
$ git push origin master
$ git push --tags origin master
$ make dist
Clone the repository via $ fedpkg clone $REPO_NAME
.
- add a new source file (you get the file from upstream repo)
$ fedpkg new-sources $UPSTREAM_SOURCE_TARBALL
- modify spec file
- change
Version
to the new one - set
Release
to1%{?dist}
- address all changes which was done in upstream spec file from last release (specfile is not shipped by source file)
- add a changelog entry
- change
- stage spec file
$ git add $SPECFILE
and create a new commit$ git commit -s
- try local build if you are on the right system
$ fedpkg local
- try scratch build in koji
$ koji build --scratch $FEDORA_VERSION $SRPM
(FEDORA_VERSION is for examplerawhide
orf25
) - push created commit into dist-git
$ fedpkg push
- do a build
$ fedpkg build
- submit update to bodhi
https://bodhi.fedoraproject.org/