diff --git a/.azure-devops/common/template-to-build-projects.yml b/.azure-devops/common/template-to-build-projects.yml index b217826d55..d2d99b9567 100644 --- a/.azure-devops/common/template-to-build-projects.yml +++ b/.azure-devops/common/template-to-build-projects.yml @@ -77,7 +77,7 @@ steps: } # Other branches: 1.2.4-Preview-23296-1 - if ("$branch" -ne "dev" -or "$branch" -ne "main") + if ("$branch" -ne "dev" -and "$branch" -ne "main") { $package = "$($builds[0]).$($builds[1]).$($builds[2])-preview.$($builds[3]).$($builds[4])" $sign = "false"