Fix regex syntax
This commit is contained in:
parent
adf599e7c2
commit
f0becd0586
|
|
@ -58,7 +58,7 @@ try {
|
||||||
$submodulePath = $submodule.path
|
$submodulePath = $submodule.path
|
||||||
Write-Host "Updating $submodulePath"
|
Write-Host "Updating $submodulePath"
|
||||||
|
|
||||||
$vcs_name = "BUILD_VCS_NUMBER_" + ($submodule.module -replace '.','_')
|
$vcs_name = "BUILD_VCS_NUMBER_" + ($submodule.module -replace '\.','_')
|
||||||
$newCommit = [environment]::GetEnvironmentVariable($vcs_name)
|
$newCommit = [environment]::GetEnvironmentVariable($vcs_name)
|
||||||
|
|
||||||
if (-not $newCommit) {
|
if (-not $newCommit) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue