kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: Change version format in release notes python code
Date Fri, 03 Nov 2017 00:50:27 GMT
Repository: kafka
Updated Branches:
  refs/heads/1.0 f15233ca0 -> 1018078d0


MINOR: Change version format in release notes python code

ijuma ewencp

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #4171 from guozhangwang/KMinor-update-releasepy

(cherry picked from commit b6765e46c8f85b6f9ba9600da753cc7638aa1027)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/1018078d
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/1018078d
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/1018078d

Branch: refs/heads/1.0
Commit: 1018078d0d8e75e6c5144d2396063f82cf818f68
Parents: f15233c
Author: Guozhang Wang <wangguoz@gmail.com>
Authored: Thu Nov 2 17:50:13 2017 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Thu Nov 2 17:50:25 2017 -0700

----------------------------------------------------------------------
 release_notes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/1018078d/release_notes.py
----------------------------------------------------------------------
diff --git a/release_notes.py b/release_notes.py
index 432b06c..e4ec713 100755
--- a/release_notes.py
+++ b/release_notes.py
@@ -32,7 +32,7 @@ if len(sys.argv) < 2:
     sys.exit(1)
 
 version = sys.argv[1]
-minor_version_dotless = "".join(version.split(".")[:3]) # i.e., 0.10.0 if version == 0.10.0.1
+minor_version_dotless = "".join(version.split(".")[:2]) # i.e., 10 if version == 1.0.1
 
 JIRA_BASE_URL = 'https://issues.apache.org/jira'
 MAX_RESULTS = 100 # This is constrained for cloud instances so we need to fix this value


Mime
View raw message