This directory contains the tools used to publish a release.
The full instructions for producing a release are available in https://cwiki.apache.org/confluence/display/KAFKA/Release+Process.
Create a virtualenv for python, activate it and install dependencies:
python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt
To start a release, first activate the virtualenv, and then run the release script.
source .venv/bin/activate
You'll need to setup PUSH_REMOTE_NAME
to refer to the git remote for apache/kafka
.
export PUSH_REMOTE_NAME=<value>
It should be the value shown with this command:
git remote -v | grep -w 'github.com' | grep -w 'apache/kafka' | grep -w '(push)' | awk '{print $1}'
Then start the release script:
python release.py
Should you encounter some problem, where re-running the script doesn't work, look at the following steps:
.release-settings.json
file in the release
folder.