Document the ark-create-release script.

Jeremy Cline 2020-05-04 15:54:59 +00:00
parent de19af89e8
commit a88bcac3eb

@ -6,10 +6,24 @@ Every release requires the maintainer to:
1. Rebase the downstream kernel patches
2. Update the configuration
3. Create a release branch/tags
3. Create a release branch and/or tag
Once that is done, the result can be imported into a dist-git repository and built in Koji.
There is a script to automate the entire process which is run nightly by CI/CD. You can run it locally:
```
# Ensure we've got a clean check out for all the branches we're about to use
git checkout master && git pull
git checkout ark-patches && git reset --hard upstream/ark-patches
git checkout internal && git pull
# Create a release based on "master", which tracks mainline
./redhat/scripts/ci/ark-create-release.sh master
```
The individual steps taken are described below for the curious.
## Rebasing Kernel Patches
The downstream kernel patches are in a branch called `ark-patches`. This branch is regularly rebased onto Linus's master branch.