Skip to content

Commit 29e3404

Browse files
committed
Update eng\scripts\Initialize-VcpkgRelease.ps1 regex for quoted REF
1 parent 39e4eeb commit 29e3404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/Initialize-VcpkgRelease.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $newContent = $portFileContent -replace '(SHA512\s+)0', "`${1}$sha512"
6969

7070
if ($DailyReleaseRef) {
7171
Write-Verbose "Overriding REF with test release ref: $DailyReleaseRef"
72-
$newContent = $newContent -replace '(?m)^(\s+)REF azure.*$', "`${1}REF $DailyReleaseRef"
72+
$newContent = $newContent -replace '(?m)^(\s+)REF \"azure.*\"$', "`${1}REF $DailyReleaseRef"
7373
}
7474

7575
$newContent | Set-Content $portfileLocation -NoNewLine

0 commit comments

Comments
 (0)