build: Fixed version number for Windows deploy script

This commit is contained in:
malte_langkabel
2016-02-24 19:46:39 +01:00
parent c65e545ab4
commit 08e6f47311
+5 -4
View File
@@ -1,6 +1,6 @@
# FLAGS
REBUILD=false
OBFUSCATE=false
REBUILD=true
OBFUSCATE=true
# USEFUL VARIABLES
@@ -15,6 +15,7 @@ BASE_DIR=`dirname "$CLEANED_PATH_TO_SCRIPT"`
cd $BASE_DIR/..
if [ $REBUILD = false ]; then
echo -e "$INFO REBUILD flag is set to false. Do you want to proceed?"
read -p "Press [Enter] key to continue"
@@ -99,7 +100,7 @@ echo -e "$INFO building the installer (trail)"
# CREATING PACKAGE FOLDERS (APP)
VERSION_STRING=$(git describe)
VERSION_STRING=$(git describe --long)
VERSION_STRING="${VERSION_STRING//-/_}"
VERSION_STRING="${VERSION_STRING//./_}"
VERSION_STRING="${VERSION_STRING%_*}"
@@ -136,7 +137,7 @@ rm -rf $APP_PACKAGE_DIR
# CREATING PACKAGE FOLDERS (TRIAL)
TRIAL_PACKAGE_NAME=Coati_Trail_${VERSION_STRING}
TRIAL_PACKAGE_NAME=Coati_Trial_${VERSION_STRING}
TRIAL_PACKAGE_DIR=release/$TRIAL_PACKAGE_NAME