update recupero vers number

This commit is contained in:
Samuele Locatelli
2021-09-15 19:46:02 +02:00
parent 92fd05d32d
commit 09b3c98199
+3 -1
View File
@@ -5,6 +5,7 @@ variables:
EXE_RELEASE_FOLDER: 'c:\Projetcs\Compiled\MP-CORE\Release'
DEPLOY_FOLDER: 'c:\Projects\Deploy\MP-CORE\Builds'
VERS_MAIN: '1.1'
# VERS_FULL: '0.0.0.0'
NEXUS_PATH: 'MP-STATS'
APP_NAME: 'MP.Stats'
@@ -38,7 +39,8 @@ variables:
Set-Alias mCurl C:\Windows\system32\curl.exe
$currentDate = get-date -format yyMM;
$currentTime = get-date -format ddHH;
$VersNumb = Get-Content $env:APP_NAME + "\Resources\VersNum.txt"
$fileVers = $env:APP_NAME + "\Resources\VersNum.txt"
$VersNumb = Get-Content $fileVers
echo "Curr Version: $VersNumb"
if($CI_COMMIT_BRANCH -eq "master")
{