summaryrefslogtreecommitdiffstats
path: root/scripts/DeployHelpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/DeployHelpers.py')
-rw-r--r--scripts/DeployHelpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/DeployHelpers.py b/scripts/DeployHelpers.py
index e8e27b98b6..2c879088ff 100644
--- a/scripts/DeployHelpers.py
+++ b/scripts/DeployHelpers.py
@@ -21,7 +21,7 @@ parser.add_argument("--deployPass", help="Deployment password", default=None)
# name should end with .war
def deployWar(warFile, name=None):
if name is None:
- name = basename(warFile)
+ name = basename(warFile).replace('.war', "-%s.war" % (getArgs().version.split('-')[0]))
print("Deploying to context %s" % (name[:-4]))
# Undeploy/Remove old version if needed