From 19d0fa5230d9f91df50e1c0a448380f7b56dbcb6 Mon Sep 17 00:00:00 2001 From: Matthias Wolf Date: Wed, 24 Jul 2024 16:17:12 +0200 Subject: [PATCH] Test Azure variable differently? --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9be1bd775..3c00d62b8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -298,10 +298,10 @@ stages: displayName: 'Install Dependencies' - pwsh: | - if (Compare-Object $env:RELEASEWHEELBUILD "False") { - Write-Output "##vso[task.setvariable variable=TAG;]-nightly" - } else { + if ($env:RELEASEWHEELBUILD) { Write-Output "##vso[task.setvariable variable=TAG;]" + } else { + Write-Output "##vso[task.setvariable variable=TAG;]-nightly" } displayName: "Set wheel tag"