mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
pipeline file changes
This commit is contained in:
parent
7c378ae9a3
commit
fc459b2366
1 changed files with 4 additions and 6 deletions
|
|
@ -63,8 +63,6 @@ steps:
|
||||||
return [string]::Join('.',($extractedBuildNumbers | select -First ($numberOfVersions)))
|
return [string]::Join('.',($extractedBuildNumbers | select -First ($numberOfVersions)))
|
||||||
}
|
}
|
||||||
|
|
||||||
$ErrorActionPreference = 'Stop'
|
|
||||||
|
|
||||||
if ($BuildNumber -match $Pattern -ne $true) {
|
if ($BuildNumber -match $Pattern -ne $true) {
|
||||||
Write-Host "Could not extract a version from [$BuildNumber] using pattern [$Pattern]"
|
Write-Host "Could not extract a version from [$BuildNumber] using pattern [$Pattern]"
|
||||||
exit 2
|
exit 2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue