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
6e52d62f69
commit
e9e8e3ead9
|
@ -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