Skip to content

Commit

Permalink
Merge pull request #207 from Sayou1989/lab
Browse files Browse the repository at this point in the history
change to lab-rc1
  • Loading branch information
CodingCattwo authored Dec 13, 2021
2 parents 0d45cc3 + cdad2e1 commit ec2c8f9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions deploy/comm/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,14 +349,14 @@ def checkVersionUtil(fisco_ver_str,webase_front_ver_str):
log.info("checkVersionUtil webase: {} and fisco version: {}".format(webase_front_ver_str, fisco_ver_str))
fisco_version_int = int(re.findall("\d+", fisco_ver_str)[0]) * 100 + int(re.findall("\d+", fisco_ver_str)[1]) * 10 + int(re.findall("\d+", fisco_ver_str)[2]) * 1
# webase-front version greater or equal with other webase version
webase_front_version_int = int(re.findall("\d+", webase_front_ver_str)[0]) * 100 + int(re.findall("\d+", webase_front_ver_str)[1]) * 10 + int(re.findall("\d+", webase_front_ver_str)[2]) * 1
log.info("checkVersionUtil int webase: {} and fisco version: {}".format(webase_front_version_int, fisco_version_int))
# webase_front_version_int = int(re.findall("\d+", webase_front_ver_str)[0]) * 100 + int(re.findall("\d+", webase_front_ver_str)[1]) * 10 + int(re.findall("\d+", webase_front_ver_str)[2]) * 1
# log.info("checkVersionUtil int webase: {} and fisco version: {}".format(webase_front_version_int, fisco_version_int))
flag=False
# require if webase < 2.0.0, fisco < 3.0.0
if ( webase_front_version_int < 200 and fisco_version_int >= 300 ):
# require if webase = 'lab*'
if not webase_front_ver_str.startswith('lab'):
flag=True
# require if webase >= 2.0.0, fisco >= 3.0.0
if ( webase_front_version_int >= 200 and fisco_version_int < 300 ):
# require if webase = 'lab*', fisco >= 3.0.0
if (webase_front_ver_str.startswith('lab') and fisco_version_int < 300 ):
flag=True

# if version conflicts, exit
Expand Down
10 changes: 5 additions & 5 deletions deploy/common.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[common]
# Webase Subsystem Version (v2.0.0 or above)
webase.web.version=v2.0.0-rc1
webase.mgr.version=v2.0.0-rc1
webase.sign.version=v2.0.0-rc1
webase.front.version=v2.0.0-rc1
# Webase Subsystem Version (lab-rc1)
webase.web.version=lab-rc1
webase.mgr.version=lab-rc1
webase.sign.version=lab-rc1
webase.front.version=lab-rc1

# Mysql database configuration of WeBASE-Node-Manager
mysql.ip=localhost
Expand Down
2 changes: 1 addition & 1 deletion release_note.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0.0-rc1
lab-rc1

0 comments on commit ec2c8f9

Please sign in to comment.