mirror of https://github.com/axmolengine/axmol.git
fix PR requester builder promption.
This commit is contained in:
parent
72691a6aac
commit
163cee699d
|
@ -148,8 +148,9 @@ def gen_scripting_bindings():
|
||||||
# Generate binding glue codes
|
# Generate binding glue codes
|
||||||
if(branch == 'v3' or branch == 'v4-develop' or branch == 'v35-for-tizen'):
|
if(branch == 'v3' or branch == 'v4-develop' or branch == 'v35-for-tizen'):
|
||||||
ret = os.system("python tools/jenkins-scripts/slave-scripts/gen_jsb.py")
|
ret = os.system("python tools/jenkins-scripts/slave-scripts/gen_jsb.py")
|
||||||
if(ret != 0):
|
else:
|
||||||
print("The branch" + branch + " doesn't accept PR!")
|
print("The branch" + branch + " doesn't accept PR!")
|
||||||
|
if(ret != 0):
|
||||||
sys.exit(ret)
|
sys.exit(ret)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue