File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
interpreter/cling/tools/packaging Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2043,6 +2043,12 @@ def custom_input(prompt, always_yes=False):
20432043if args ['dmg_tag' ] and args ['dmg_tag_build' ]:
20442044 raise Exception ('You cannot specify both the dmg_tag and dmg_tag_build flags' )
20452045
2046+ if args ['current_dev' ] and args ['current_dev_build' ]:
2047+ raise Exception ('You cannot specify both the current_dev and current_dev_build flags' )
2048+
2049+ if args ['last_stable' ] and args ['last_stable_build' ]:
2050+ raise Exception ('You cannot specify both the last_stable and last_stable_build flags' )
2051+
20462052if args ['with_llvm_tar' ]:
20472053 tar_required = True
20482054
@@ -2327,7 +2333,7 @@ def custom_input(prompt, always_yes=False):
23272333 tarball ()
23282334 cleanup ()
23292335
2330- if bool (args ['last_stable' ]) ^ bool (args ['last_stable_build' ]):
2336+ if bool (args ['last_stable' ]) or bool (args ['last_stable_build' ]):
23312337 stable_packaging_mode = args ['last_stable' ] if args ['last_stable' ] else args ['last_stable_build' ]
23322338 tag = json .loads (urlopen ("https://api.github.com/repos/vgvassilev/cling/tags" )
23332339 .read ().decode ('utf-8' ))[0 ]['name' ].encode ('ascii' , 'ignore' ).decode ("utf-8" )
You can’t perform that action at this time.
0 commit comments