Skip to content

Commit

Permalink
fixup: add test case for unassigned envvar
Browse files Browse the repository at this point in the history
  • Loading branch information
coloursofnoise committed Sep 5, 2021
1 parent e17e2d0 commit 96b0d94
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions azure-pipelines-postbuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ Write-Output "Building Olympus metadata artifact"
Write-Output (Get-Item -Path $ZIP).length | Out-File -FilePath $OLYMPUS/meta/size.txt

# lib-stripped setup
if ([string]::IsNullOrEmpty("$env:BIN_URL")) {
if ([string]::IsNullOrEmpty("$env:BIN_URL") -or ($env:BIN_URL -eq '$(BIN_URL)')) {
Write-Output "Skipping lib-stripped artifact"
Exit 0
} else {
Write-Output "BIN_URL `"secret`": ``$env:BIN_URL``"
}

$LIB_STRIPPED="$env:BUILD_ARTIFACTSTAGINGDIRECTORY/lib-stripped"
Expand Down

0 comments on commit 96b0d94

Please sign in to comment.