We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2201472 + 1d3c729 commit 2bb14e9Copy full SHA for 2bb14e9
Push.ps1
@@ -1,7 +1,7 @@
1
$scriptName = $MyInvocation.MyCommand.Name
2
$artifacts = "./artifacts"
3
4
-if ($Env:MYGET_MEDIATR_CI_API_KEY -eq $null) {
+if ([string]::IsNullOrEmpty($Env:MYGET_MEDIATR_CI_API_KEY)) {
5
Write-Host "${scriptName}: MYGET_MEDIATR_CI_API_KEY is empty or not set. Skipped pushing package(s)."
6
} else {
7
Get-ChildItem $artifacts -Filter "*.nupkg" | ForEach-Object {
0 commit comments