This commit is contained in:
luca.mazzoleni
2024-09-19 16:49:28 +02:00
parent 114ca4572e
commit 9b24fec7d2
+3 -1
View File
@@ -64,6 +64,7 @@ variables:
echo "-----------------------"
SLEEP 2
$customerPathH = $env:DEST_MACHINES_PATH_H + "\" + $env:MANUFACTURER + "\test"
echo $customerPathH
$destinationPath = "$customerPathH\$env:MACH_NAME" + "\"
echo $destinationPath
# ROBOCOPY "$env:BASE_PATH" "$destinationPath\" *.zip
@@ -128,10 +129,11 @@ variables:
echo "-----------------------"
$fileName = dir *.mlde
$env:MACH_NAME = $fileName.BaseName
echo $fileName.BaseName
$env:MACH_NAME_TEST = $env:MACH_NAME + ".TEST"
$comp = $fileName.BaseName -split "-"
$env:MANUFACTURER = $comp[1]
echo $env:MANUFACTURER
Write-Output $env:MANUFACTURER
# helper calcolo versione
.version-fix: &version-fix