Skip to content

Commit

Permalink
Remove deps package from release pipeline code (#1644)
Browse files Browse the repository at this point in the history
We don't release this package anymore in v2
  • Loading branch information
timtay-microsoft authored Dec 12, 2022
1 parent 1374c72 commit 7ce92b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vsts/release/package-maven-artifacts-for-release.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This script builds all of the maven artifacts needed to release a java package

param (
[string]$deps,
[string]$securityProvider,
[string]$tpmProvider,
[string]$x509Provider,
Expand Down Expand Up @@ -165,7 +164,6 @@ function ValidateInputParameter($parameter, $parameterName, $packageName, $path)
$iotHubBasePomPath = Join-Path $env:sources "pom.xml"

$Clients = @{ }
ValidateInputParameter $deps "deps" "iot-deps" "deps"
ValidateInputParameter $securityProvider "securityProvider" "security-provider" "provisioning/security/security-provider"
ValidateInputParameter $tpmProvider "tpmProvider" "tpm-provider" "provisioning/security/tpm-provider"
ValidateInputParameter $x509Provider "x509Provider" "x509-provider" "provisioning/security/x509-provider"
Expand All @@ -174,7 +172,7 @@ ValidateInputParameter $provisioningServiceClient "provisioningServiceClient" "p
ValidateInputParameter $iotDeviceClient "iotDeviceClient" "iot-device-client" "device/iot-device-client"
ValidateInputParameter $iotServiceClient "iotServiceClient" "iot-service-client" "service/iot-service-client"

if (($deps -eq "False") -and ($securityProvider -eq "False") -and ($tpmProvider -eq "False") -and ($x509Provider -eq "False") -and ($provisioningDeviceClient -eq "False") -and ($provisioningServiceClient -eq "False") -and ($iotDeviceClient -eq "False") -and ($iotServiceClient -eq "False"))
if (($securityProvider -eq "False") -and ($tpmProvider -eq "False") -and ($x509Provider -eq "False") -and ($provisioningDeviceClient -eq "False") -and ($provisioningServiceClient -eq "False") -and ($iotDeviceClient -eq "False") -and ($iotServiceClient -eq "False"))
{
echo "No packages were configured to be released, so this pipeline would do nothing. Please schedule a new run of this pipeline, and configure at least one package to be released."
exit 1
Expand Down

0 comments on commit 7ce92b3

Please sign in to comment.