Commit 1d1cee96 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fix keepVersion

Change-Id: Ibb9352117899b95da8c76bfe0cf7e6a2888dfa39
parent be20e2d7
......@@ -63,6 +63,7 @@ def printUsage():
def processArgs():
global project, date, suffix, download_dir
global keepVersion
for arg in sys.argv:
if arg.startswith("--help"):
......@@ -157,6 +158,7 @@ def printBuildInfo(info):
# ----------------------------------------------------------------------------------------
def filterDestinationFileName(fileName):
global keepVersion
if not keepVersion:
fileName = re.sub( r'-[0-9]+.[0-9]+.[0-9]+.RC[0-9]', '', fileName)
return re.sub( r'-[0-9]+.[0-9]+.[0-9]+', '', fileName)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment