typo vers debug

This commit is contained in:
Emmanuele Sassi
2025-09-30 19:05:31 +02:00
parent b21ed4415c
commit bb90d37a07
+1 -1
View File
@@ -110,7 +110,7 @@ variables:
.nuspec-fix-framework: &nuspec-fix-framework
- |
echo "Modifica dati versione pacchetto nuget x progetti Framework"
$fileNameRel = "$env:APP_NAME.Develop.nuspec";
$fileNameRel = "$env:APP_NAME.Debug.nuspec";
$fileContent = Get-Content $fileNameRel -Raw;
$pattern = '(?i)<Version>\s*(.*?)\s*</Version>'
$vers = if ($fileContent -match $pattern) { $matches[1] } else { $null }