vers numb variabile
This commit is contained in:
+2
-1
@@ -40,7 +40,8 @@ variables:
|
||||
# helper x fix version number
|
||||
.version-fix: &version-fix
|
||||
- |
|
||||
echo "Set vers: $env:VERS_NUMBER"
|
||||
$newRel = $VERS_NUMBER+"."+(get-date –format yyMM)+"."+$CI_PIPELINE_IID
|
||||
echo "New Rel: $newRel | Set vers: $env:VERS_NUMBER"
|
||||
$contenuto = Get-Content -path 'VersGen\GPW.cs' -Raw
|
||||
$newContenuto = $contenuto -replace '0.0.0.0', $env:VERS_NUMBER
|
||||
$newContenuto | Set-Content -Path 'VersGen\GPW.cs'
|
||||
|
||||
Reference in New Issue
Block a user