mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
Fixes double quotes in script
This commit is contained in:
@@ -14,7 +14,7 @@ echo ” “;
|
|||||||
function Update-SourceVersion
|
function Update-SourceVersion
|
||||||
{
|
{
|
||||||
Param ([string]$Version)
|
Param ([string]$Version)
|
||||||
$NewVersion = ‘AssemblyVersion(“‘ + $Version + ‘.*”)’;
|
$NewVersion = ‘AssemblyVersion("‘ + $Version + ‘.*")’;
|
||||||
foreach ($o in $input)
|
foreach ($o in $input)
|
||||||
{
|
{
|
||||||
Write-output $o.FullName
|
Write-output $o.FullName
|
||||||
@@ -34,7 +34,7 @@ function Update-AllAssemblyInfoFiles ( $version )
|
|||||||
}
|
}
|
||||||
|
|
||||||
# validate arguments
|
# validate arguments
|
||||||
$r= [System.Text.RegularExpressions.Regex]::Match($args[0], “^\d+\.\d+\.\d+$”);
|
$r= [System.Text.RegularExpressions.Regex]::Match($args[0], "^\d+\.\d+\.\d+$");
|
||||||
if ($r.Success)
|
if ($r.Success)
|
||||||
{
|
{
|
||||||
Update-AllAssemblyInfoFiles $args[0];
|
Update-AllAssemblyInfoFiles $args[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user