Skip to content

Commit 7ce92b3

Browse files
Remove deps package from release pipeline code (#1644)
We don't release this package anymore in v2
1 parent 1374c72 commit 7ce92b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vsts/release/package-maven-artifacts-for-release.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This script builds all of the maven artifacts needed to release a java package
22

33
param (
4-
[string]$deps,
54
[string]$securityProvider,
65
[string]$tpmProvider,
76
[string]$x509Provider,
@@ -165,7 +164,6 @@ function ValidateInputParameter($parameter, $parameterName, $packageName, $path)
165164
$iotHubBasePomPath = Join-Path $env:sources "pom.xml"
166165

167166
$Clients = @{ }
168-
ValidateInputParameter $deps "deps" "iot-deps" "deps"
169167
ValidateInputParameter $securityProvider "securityProvider" "security-provider" "provisioning/security/security-provider"
170168
ValidateInputParameter $tpmProvider "tpmProvider" "tpm-provider" "provisioning/security/tpm-provider"
171169
ValidateInputParameter $x509Provider "x509Provider" "x509-provider" "provisioning/security/x509-provider"
@@ -174,7 +172,7 @@ ValidateInputParameter $provisioningServiceClient "provisioningServiceClient" "p
174172
ValidateInputParameter $iotDeviceClient "iotDeviceClient" "iot-device-client" "device/iot-device-client"
175173
ValidateInputParameter $iotServiceClient "iotServiceClient" "iot-service-client" "service/iot-service-client"
176174

177-
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"))
175+
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"))
178176
{
179177
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."
180178
exit 1

0 commit comments

Comments
 (0)