You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by bb...@apache.org on 2020/10/08 19:15:56 UTC
[kafka] 18/31: ST-3461: nano versioning,
fix ducktape version substitution.
This is an automated email from the ASF dual-hosted git repository.
bbejeck pushed a commit to branch Merge_AK_to_CCS_10_08_2020
in repository https://gitbox.apache.org/repos/asf/kafka.git
commit 7f21a17d2401e13b2eaf9aeb1d2f440c2e6ad34f
Author: Eli Smaga <el...@confluent.io>
AuthorDate: Fri Aug 7 18:51:28 2020 -0700
ST-3461: nano versioning, fix ducktape version substitution.
---
ci.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci.py b/ci.py
index 195aa59..15a3de3 100644
--- a/ci.py
+++ b/ci.py
@@ -42,7 +42,7 @@ class CI:
log.info("Updating ducktape version.py")
ducktape_version_file = os.path.join(self.repo_path, "tests/kafkatest/version.py")
# The version in this file does not contain the qualifier
- ducktape_version = self.new_version.split(kafka_qualifier)[0]
+ ducktape_version = self.new_version.split("-{}".format(kafka_qualifier))[0]
regex_replace(ducktape_version_file,
"^DEV_VERSION = KafkaVersion.*",
"DEV_VERSION = KafkaVersion(\"{}\")".format(ducktape_version))