This repository contains a Go utility for managing Cilium releases.
Build the utility with:
$ make release
Then you can run release help
to list available commands.
$ ./release --help
release -- Prepare a Cilium release
Usage:
release [flags]
release [command]
Available Commands:
changelog Generate release notes
checklist Manage release checklists
completion Generate the autocompletion script for the specified shell
help Help about any command
projects Manage projects
start Start the release process
Flags:
[...]
This repository contains checklists for the release process for different kinds
of Cilium releases (patch release, minor releases, ...). These checklists can
be accessed when creating new issues with the GitHub interface, but
the recommended way is to use the release
tool to create an Issue
automatically (and have all references to the target release substituted to the
template placeholders).
For example:
$ ./release checklist open \
--target-version v1.16.1 \
--template .github/ISSUE_TEMPLATE/release_template_patch.md
Use the release
utility to update GitHub projects and create release notes
for a new Cilium release:
$ ./release --base <base-commit> \
--head <head-commit>
Where:
<base-commit>
isx.y.z-1
<head-commit>
should be the last commit available for thex.y
branch.
$ ./release --base <base-commit> \
--head <head-commit> \
--last-stable x.y-1
Where:
<base-commit>
can be found withgit merge-base origin/vx.y-1 origin/vx.y
<head-commit>
should be the last commit available for thex.y
branch.