[Python] Change development release postfix to dev (#6988)
This commit is contained in:
parent
29d6a5e2b8
commit
ab6fd304c4
@ -1 +1 @@
|
|||||||
@xgboost_VERSION_MAJOR@.@xgboost_VERSION_MINOR@.@xgboost_VERSION_PATCH@-SNAPSHOT
|
@xgboost_VERSION_MAJOR@.@xgboost_VERSION_MINOR@.@xgboost_VERSION_PATCH@-dev
|
||||||
@ -1 +1 @@
|
|||||||
1.5.0-SNAPSHOT
|
1.5.0-dev
|
||||||
|
|||||||
@ -129,7 +129,7 @@ eval[test] = {data_path}
|
|||||||
msg = completed.stdout.decode('utf-8')
|
msg = completed.stdout.decode('utf-8')
|
||||||
assert msg.find('XGBoost') != -1
|
assert msg.find('XGBoost') != -1
|
||||||
v = xgboost.__version__
|
v = xgboost.__version__
|
||||||
if v.find('SNAPSHOT') != -1:
|
if v.find('dev') != -1:
|
||||||
assert msg.split(':')[1].strip() == v.split('-')[0]
|
assert msg.split(':')[1].strip() == v.split('-')[0]
|
||||||
elif v.find('rc') != -1:
|
elif v.find('rc') != -1:
|
||||||
assert msg.split(':')[1].strip() == v.split('rc')[0]
|
assert msg.split(':')[1].strip() == v.split('rc')[0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user