X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=tools%2Fclustering%2Fcluster-deployer%2Fdeploy.py;fp=tools%2Fclustering%2Fcluster-deployer%2Fdeploy.py;h=cd8962de175a92191326ae1b37f152d7735122da;hp=877d7d946b5d2b494d74aa0917edad9402594de4;hb=1071049adb870557ba6de994b1f37a3652d3c675;hpb=0cfec26d58c8865d3ff5bc1f07f996ec60861a41 diff --git a/tools/clustering/cluster-deployer/deploy.py b/tools/clustering/cluster-deployer/deploy.py index 877d7d946b..cd8962de17 100755 --- a/tools/clustering/cluster-deployer/deploy.py +++ b/tools/clustering/cluster-deployer/deploy.py @@ -148,6 +148,8 @@ class Deployer: distribution_name \ = os.path.splitext(os.path.basename(self.distribution))[0] distribution_ver = re.search('(\d+\.\d+\.\d+-\w+\Z)|' + '(\d+\.\d+\.\d+-\w+)(-RC\d+\Z)|' + '(\d+\.\d+\.\d+-\w+)(-RC\d+(\.\d+)\Z)|' '(\d+\.\d+\.\d+-\w+)(-SR\d+\Z)|' '(\d+\.\d+\.\d+-\w+)(-SR\d+(\.\d+)\Z)', distribution_name) # noqa @@ -157,7 +159,7 @@ class Deployer: " (Must contain version in the form: " \ "\"<#>.<#>.<#>-\" or \"<#>.<#>." \ "<#>--SR<#>\" or \"<#>.<#>.<#>" \ - "-\", e.g. 0.2.0-SNAPSHOT)" # noqa + "--RC<#>\", e.g. 0.2.0-SNAPSHOT)" sys.exit(1) distribution_ver = distribution_ver.group()