mirror of https://github.com/apache/lucene.git
addVersion.py (via scriptutil.py): fix name of the running script in error message
This commit is contained in:
parent
04a133f9cc
commit
1ec6a886f6
|
@ -115,7 +115,7 @@ def find_branch_type():
|
|||
return BranchType.stable
|
||||
if re.match(r'branch_(\d+)_(\d+)', branchName.decode('UTF-8')):
|
||||
return BranchType.release
|
||||
raise Exception('Cannot run bumpVersion.py on feature branch')
|
||||
raise Exception('Cannot run %s on feature branch' % sys.argv[0].rsplit('/', 1)[-1])
|
||||
|
||||
version_prop_re = re.compile('version\.base=(.*)')
|
||||
def find_current_version():
|
||||
|
|
Loading…
Reference in New Issue