feat(pwsh): don't overwrite dev build

This commit is contained in:
Laurent Nullens 2022-02-03 11:28:47 +01:00 committed by GitHub
parent b29ebcd058
commit 6e91805aa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -109,6 +109,10 @@ function Sync-PoshArtifacts {
return
}
$poshVersion = & $executable --version
if ($poshVersion -eq "development") {
Write-Warning "omp development version detected"
return
}
if ($poshVersion -eq $Version) {
return
}