kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aw...@apache.org
Subject [kudu] branch branch-1.9.x updated: Bump version to 1.9.0 (non-SNAPSHOT)
Date Wed, 06 Feb 2019 20:05:20 GMT
This is an automated email from the ASF dual-hosted git repository.

awong pushed a commit to branch branch-1.9.x
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/branch-1.9.x by this push:
     new 2989ec2  Bump version to 1.9.0 (non-SNAPSHOT)
2989ec2 is described below

commit 2989ec23a8b734a62a9e4a7caf83b1b32db2b37d
Author: Andrew Wong <awong@cloudera.com>
AuthorDate: Tue Feb 5 22:41:23 2019 -0800

    Bump version to 1.9.0 (non-SNAPSHOT)
    
    Also included is a tweak to setup.py to correctly handle non-SNAPSHOT
    verions. A separate patch will go in on master.
    
    Change-Id: I91d84f268504ad42790f09ef843154bf1ab25d56
    Reviewed-on: http://gerrit.cloudera.org:8080/12382
    Reviewed-by: Grant Henke <granthenke@apache.org>
    Tested-by: Kudu Jenkins
---
 python/setup.py | 3 ++-
 version.txt     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/python/setup.py b/python/setup.py
index 601dc78..87872bc 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -51,7 +51,8 @@ def find_version():
     if not version_match:
         raise RuntimeError("Unable to parse version string " + version_file)
     version = version_match.group("version")
-    if "SNAPSHOT" in version_match.group("label"):
+    label = version_match.group("label")
+    if label is not None and "SNAPSHOT" in label:
         version += '.dev0'
     return version
 
diff --git a/version.txt b/version.txt
index e36b803..f8e233b 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-1.9.0-SNAPSHOT
+1.9.0


Mime
View raw message