Files
kata-containers/tools/packaging/release
Peng Tao fd5592d4d5 branch: change 2.0-dev to main
Change all mentioning of 2.0-dev to main so that we can rename the
default branch to main.

Fixes: #1310
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
2021-01-22 15:49:35 +08:00
..
2020-06-23 22:58:18 -07:00

Release information

Introduction

This directory contains information of the process and tools used for creating Kata Containers releases.

Create a Kata Containers release

See the release documentation.

Release tools

update-repository-version.sh

This script creates a GitHub pull request (a.k.a PR) to change the version in all the Kata repositories.

For more information on using the script, run the following:

$ ./update-repository-version.sh -h

Update Kata projects to a new version

To update project version for Kata Containers, use the following:

$ make bump-kata-version NEW_VERSION=<new-version>

The makefile target bump-kata-version creates a GitHub pull request in the kata-containers repository. The pull request is tested by the Kata CI to ensure the entire project is working prior to the release. Next, the PR is approved and merged by Kata Containers members.

tag_repos.sh

After Kata Containers repository is updated with a new version, it needs to be tagged.

The tag_repos.sh script is used to create tags for the Kata Containers repository. The script creates an annotated tag for the new release version for the following repositories:

  • kata-containers