Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In the release process, there is a step to add the release version to the system tests using the following steps. (search for "In trunk update the following files with the current release number." at https://cwiki.apache.org/confluence/display/KAFKA/Release+Process)
In trunk update the following files with the current release number. This is needed for a feature as well as a bug-fix release (commit example)
- KAFKA-REPO-DIR/gradle/dependencies.gradle
- KAFKA-REPO-DIR/tests/docker/Dockerfile
- KAFKA-REPO-DIR/tests/kafkatest/version.py
- KAFKA-REPO-DIR/vagrant/base.sh
This task should create a python script that will do these automatically. For reference, similar code changes are performed using regEx at https://github.com/apache/kafka/blob/cc4e699d4cb2880d05603e2e8310d28e1c9f201a/release.py#L563