This repository contains a few scripts used for making new release of both rpkg and fedpkg.
Here gives a brief introduction of what each script does. Passing -h
or
--help
to get help from each script.
git-changelog
: generate a changelog from project repository. This script
must run under project root directory.prepare-release.sh
: prepare a new release, which bumps version in
setup.py
and insert changelog into CHANGELOG.rst
.make-release-sdist-wheel
: make sdist and wheel packages for release.start_official_build.sh
: start to build packages in Koji after new
release package PR is merged.local-mockbuild-rpkg-and-test-install.py
: local mockbuild on rawhide, all
EPEL branches and supported Fedora release branches, then test installation.local-mockbuild-fedpkg-and-test-install.py
: local mockbuild on rawhide,
all EPEL branches and supported Fedora release branches, then test
installation.mock-sources.sh
: utility to generate sources content. It does not modify
sources
file directly. Output from this script should be redirected to
sources
file.overrides-rpkg.sh
: create rpkg overrides for building fedpkg packages.
This is required when release rpkg and fedpkg together.mockchain-build.sh
: build rpkg and fedpkg in chain.kinit [fas username]@FEDORAPROJECT.ORG
for uploading sources files and
build packages in Koji.kinit [fas username]@STG.FEDORAPROJECT.ORG
.prepare-release.sh
.sources
inside
package repository.start_official_build
.functional-tests
. Choose propery
chain build result to run tests. Script: functional-tests-runner.py
.Following items will happen after release PR is merged.
tag-release.sh
.make-official-release-files.sh
.twine-3 upload
--username username dist/release-version/*
Start to build packages in Koji.
fedpkg new-sources tarball
.verify-distgit-pr
.start_official_build
.Note
fedpkg may need new release of rpkg. In this case, building rpkg and create override in Bodhi firstly, then continue to build fedpkg.
This should happen after package PR is merged.
To build rpkg, run python start_official_build.py rpkg
.
To build fedpkg, then run python start_official_build.py fedpkg
. If
required rpkg packages haven't been pushed to Fedora repository, run
overrides-rpkg.sh
.