1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

release.py minor update to run in debugger

This commit is contained in:
Gabor Kiss-Vamosi 2020-09-01 10:45:27 +02:00
parent 289fd95c3d
commit 26b36dfea1

View File

@ -450,12 +450,13 @@ def cleanup():
cmd("rm -fr " + workdir)
if __name__ == '__main__':
if(len(sys.argv) != 2):
print("Argument error. Usage ./release.py bugfix | minor | major")
#exit(1)
#dev_prepare = sys.argv[1]
dev_prepare = 'minor'
if(len(sys.argv) != 2):
print("Missing argument. Usage ./release.py bugfix | minor | major")
print("Use minor by deafult")
else:
dev_prepare = sys.argv[1]
if not (dev_prepare in prepare_type):
print("Invalid argument. Usage ./release.py bugfix | minor | major")
exit(1)