Skip to content

Commit 78a3ed2

Browse files
author
maddieclayton
committed
merge kv to preview
2 parents c219007 + 0ec490f commit 78a3ed2

File tree

2,918 files changed

+813969
-2651213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,918 files changed

+813969
-2651213
lines changed

.gitignore

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,17 @@ FakesAssemblies/
215215
*.GhostDoc.xml
216216
pingme.txt
217217
groupMapping*.json
218+
/tools/index.json
219+
/Package/index.json
218220

219221
*.msi
220222
*.wixpdb
221223

222224
.vscode/
223-
/tools/AutomationTestFramework/RunBooks
224-
/tools/AutomationTestFramework/TestHelpers/TestHelpers.zip
225+
/tools/AutomationTestFramework/Runbooks
225226
Results
226227
Package
227228
.DS_Store
228229
.idea
230+
/src/ResourceManager/RecoveryServices.Backup/**/bin
231+
launchSettings.json

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dotnet: 2.1.2
55
dist: trusty
66

77
env:
8-
- NAME="azure-powershell-core" CONFIG="Release"
8+
- NAME="azure-powershell-core" CONFIG="Debug"
99

1010
services:
1111
- docker
@@ -21,13 +21,14 @@ before_install:
2121

2222
script:
2323
- dotnet msbuild build.proj /t:BuildNetcore /p:Configuration=$CONFIG
24+
- dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter="AcceptanceType=CheckIn" --configuration $CONFIG
2425

2526
after_success:
2627
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
2728
docker build . -t $DOCKER_USER/$NAME:$TRAVIS_COMMIT --build-arg CONFIG=$CONFIG;
2829
docker tag $DOCKER_USER/$NAME:$TRAVIS_COMMIT $DOCKER_USER/$NAME:$TRAVIS_BRANCH;
2930

30-
docker login -u $DOCKER_USER -p $DOCKER_PASS;
31+
echo "$DOCKER_PASS" | docker login -u $DOCKER_USER --password-stdin;
3132

3233
docker push $DOCKER_USER/$NAME:$TRAVIS_COMMIT;
3334
docker push $DOCKER_USER/$NAME:$TRAVIS_BRANCH;

Azure.PowerShell.Netcore.sln

Lines changed: 715 additions & 50 deletions
Large diffs are not rendered by default.

AzurePowershell.Test.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<CommonTestDebug>.\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll</CommonTestDebug>
88
<BackupTestDebug>.\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll</BackupTestDebug>
99
<RecoveryServicesBackupTestDebug>.\src\ResourceManager\AzureBackup\Commands.RecoveryServices.Backup.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll</RecoveryServicesBackupTestDebug>
10-
<SiteRecoveryTestDebug>.\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll</SiteRecoveryTestDebug>
1110
<SqlTestDebug>.\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll</SqlTestDebug>
1211
<ComputeDebug>.\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.dll</ComputeDebug>
1312
<ComputeTestDebug>.\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll</ComputeTestDebug>

ChangeLog.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,59 @@
1-
## 5.6.0 - March 2018
1+
## 5.7.0 - April 2018
2+
3+
#### General
4+
* Updated to the latest version of the Azure ClientRuntime
5+
6+
#### Azure.Storage
7+
* Fix the issue that upload Blob and upload File cmdlets fail on FIPS policy enabled machines
8+
- Set-AzureStorageBlobContent
9+
- Set-AzureStorageFileContent
10+
11+
#### AzureRM.Billing
12+
* New Cmdlet Get-AzureRmEnrollmentAccount
13+
- cmdlet to retrieve enrollment accounts
14+
15+
#### AzureRM.CognitiveServices
16+
* Integrate with Cognitive Services Management SDK version 4.0.0.
17+
* Add Get-AzureRmCognitiveServicesAccountUsage operation.
18+
19+
#### AzureRM.Compute
20+
* `Get-AzureRmVmssDiskEncryptionStatus` supports encryption status at data disk level
21+
* `Get-AzureRmVmssVmDiskEncryptionStatus` supports encryption status at data disk level
22+
* Update for Zone Resilient
23+
* 'New-AzureRmVm' and 'New-AzureRmVmss' (simple parameter set) support availability zones.
24+
25+
#### AzureRM.ContainerRegistry
26+
* Decouple reliance on Commands.Resources.Rest and ARM/Storage SDKs.
27+
28+
#### AzureRM.DataLakeStore
29+
* Add debug functionality
30+
* Update the version of the ADLS dataplane SDK to 1.1.2
31+
* Export-AzureRmDataLakeStoreItem - Deprecated parameters PerFileThreadCount, ConcurrentFileCount and introduced parameter Concurrency
32+
* Import-AzureRMDataLakeStoreItem - Deprecated parametersPerFileThreadCount, ConcurrentFileCount and introduced parameter Concurrency
33+
* Get-AzureRMDataLakeStoreItemContent - Fixed the tail behavior for contents greater than 4MB
34+
* Set-AzureRMDataLakeStoreItemExpiry - Introduced new parameter set SetRelativeExpiry for setting relative expiration time
35+
* Remove-AzureRmDataLakeStoreItem - Deprecated parameter Clean.
36+
37+
#### AzureRM.EventHub
38+
* Fixed AlternameName in New-AzureRmEventHubGeoDRConfiguration
39+
40+
#### AzureRM.KeyVault
41+
* Updated cmdlets to include piping scenarios
42+
* Add deprecation messages for upcoming breaking change release
43+
44+
#### AzureRM.Network
45+
* Fix error message with Network cmdlets
46+
47+
#### AzureRM.ServiceBus
48+
* Added 'properties' in CorrelationFilter of Rules to support customproperties
49+
* updated New-AzureRmServiceBusGeoDRConfiguration help and fixed Rules cmdlet output
50+
* Fixed auto-forward properties in New-AzureRmServiceBusQueue and New-AzureRmServiceBusSubscription cmdlet
51+
52+
#### AzureRM.Sql
53+
* Add new cmdlet 'Stop-AzureRmSqlElasticPoolActivity' to support canceling the asynchronous operations on elastic pool
54+
* Update the response for cmdlets Get-AzureRmSqlDatabaseActivity and Get-AzureRmSqlElasticPoolActivity to reflect more information in the response
55+
56+
## 5.6.0 - March 2018
257

358
#### General
459
* Fix issue with Default Resource Group in CloudShell

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To install the module containing the legacy RDFE cmdlets, run the following comm
3838
Install-Module -Name Azure
3939
```
4040

41-
If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session:
41+
If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session. Update-Module installs the new version side-by-side with the old version. It does not remove the old version.
4242

4343
```powershell
4444
# Update to the latest version of AzureRM

TestMappings.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@
5959
],
6060
"src/ResourceManager/DataFactories/": [
6161
".\\src\\ResourceManager\\DataFactories\\Commands.DataFactories.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataFactories.Test.dll",
62-
".\\src\\ResourceManager\\DataFactories\\Commands.DataFactoryV2.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataFactoryV2.Test.dll",
6362
".\\src\\ResourceManager\\StreamAnalytics\\Commands.StreamAnalytics.Test\\bin\\Debug\\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"
6463
],
64+
"src/ResourceManager/DataFactoryV2/": [
65+
".\\src\\ResourceManager\\DataFactoryV2\\Commands.DataFactoryV2.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataFactoryV2.Test.dll"
66+
],
6567
"src/ResourceManager/DataLakeAnalytics/": [
6668
".\\src\\ResourceManager\\DataLakeAnalytics\\Commands.DataLakeAnalytics.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll"
6769
],
@@ -92,6 +94,9 @@
9294
"src/ResourceManager/IotHub/": [
9395
".\\src\\ResourceManager\\IotHub\\Commands.IotHub.Test\\bin\\Debug\\Microsoft.Azure.Commands.IotHub.Test.dll"
9496
],
97+
"src/ResourceManager/DeviceProvisioningServices/": [
98+
".\\src\\ResourceManager\\DeviceProvisioningServices\\Commands.DeviceProvisioningServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.DeviceProvisioningServices.dll"
99+
],
95100
"src/ResourceManager/KeyVault/": [
96101
".\\src\\ResourceManager\\Compute\\Commands.Compute.Test\\bin\\Debug\\Microsoft.Azure.Commands.Compute.Test.dll",
97102
".\\src\\ResourceManager\\KeyVault\\Commands.KeyVault.Test\\bin\\Debug\\Microsoft.Azure.Commands.KeyVault.Test.dll",
@@ -125,6 +130,9 @@
125130
"src/ResourceManager/OperationalInsights/": [
126131
".\\src\\ResourceManager\\OperationalInsights\\Commands.OperationalInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.OperationalInsights.Test.dll"
127132
],
133+
"src/ResourceManager/PolicyInsights/": [
134+
".\\src\\ResourceManager\\PolicyInsights\\Commands.PolicyInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.PolicyInsights.Test.dll"
135+
],
128136
"src/ResourceManager/PowerBIEmbedded/": [
129137
".\\src\\ResourceManager\\PowerBIEmbedded\\Commands.PowerBIEmbedded.Test\\bin\\Debug\\Microsoft.Azure.Commands.PowerBIEmbedded.Test.dll"
130138
],
@@ -136,8 +144,7 @@
136144
],
137145
"src/ResourceManager/RecoveryServices/": [
138146
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
139-
".\\src\\ResourceManager\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll",
140-
".\\src\\ResourceManager\\SiteRecovery\\Commands.SiteRecovery.Test\\bin\\Debug\\Microsoft.Azure.Commands.SiteRecovery.Test.dll"
147+
".\\src\\ResourceManager\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll"
141148
],
142149
"src/ResourceManager/RedisCache/": [
143150
".\\src\\ResourceManager\\RedisCache\\Commands.RedisCache.Test\\bin\\Debug\\Microsoft.Azure.Commands.RedisCache.Test.dll"
@@ -154,16 +161,12 @@
154161
"src/ResourceManager/Scheduler/": [
155162
".\\src\\ResourceManager\\Scheduler\\Commands.Scheduler.Test\\bin\\Debug\\Microsoft.Azure.Commands.Scheduler.Test.dll"
156163
],
157-
"src/ResourceManager/ServerManagement/": [],
158164
"src/ResourceManager/ServiceBus/": [
159165
".\\src\\ResourceManager\\ServiceBus\\Commands.ServiceBus.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceBus.Test.dll"
160166
],
161167
"src/ResourceManager/ServiceFabric/": [
162168
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll"
163169
],
164-
"src/ResourceManager/SiteRecovery/": [
165-
".\\src\\ResourceManager\\SiteRecovery\\Commands.SiteRecovery.Test\\bin\\Debug\\Microsoft.Azure.Commands.SiteRecovery.Test.dll"
166-
],
167170
"src/ResourceManager/Sql/": [
168171
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
169172
],
@@ -203,5 +206,8 @@
203206
],
204207
"tools/BuildPackagesTask/": [
205208
".\\tools\\BuildPackagesTask\\Microsoft.Azure.Build.Tasks.Test\\bin\\Debug\\Microsoft.Azure.Build.Tasks.Test.dll"
209+
],
210+
"tools/RepoTasks/": [
211+
".\\tools\\RepoTasks\\RepoTasks.Cmdlets.Tests\\bin\\Debug\\RepoTasks.Cmdlets.Tests.dll"
206212
]
207213
}

appveyor.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,27 @@
11
clone_folder: c:\ps
2+
clone_depth: 1
23
branches:
34
only:
45
- master
56
environment:
6-
nodejs_version: "6"
77
github_access_token:
88
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
99

1010
before_build:
11-
- ps: Get-ChildItem -Path ("$env:programfiles" + "\WindowsPowerShell\Modules") | Where-Object { $_.FullName -match 'azure' } | foreach { Remove-Item $_.FullName -Recurse -Force }
12-
- ps: Install-Module -Name PowerShellGet -Force
13-
- ps: Install-Module -Name SplitPipeline -Force
14-
- ps: Install-Module -Name platyPS -Force
15-
- ps: Install-Module -Name Azure -Force
16-
- ps: Install-Module -Name AzureRM -Force -AllowClobber
17-
- ps: Install-Module -Name AzureStack -Force -AllowClobber
18-
- ps: Install-Product node $env:nodejs_version
1911
- git config --global credential.helper store
2012
- ps: ac "$env:USERPROFILE\.git-credentials" "https://$($env:github_access_token):[email protected]`n"
2113
- git config --global user.email %email%
2214
- git config --global user.name %name%
23-
- git clone -q https://github.com/MicrosoftDocs/azure-psdocs-ciscripts azpsci
24-
- cd azpsci
25-
- npm install
26-
- npm install typescript
27-
- node ./node_modules/typescript/bin/tsc
2815
- cd ..
16+
- git clone -q https://github.com/MicrosoftDocs/azure-psdocs-ciscripts azpsci
17+
- dotnet publish azpsci -c Release -o ../ci
2918
build_script:
30-
- node azpsci/out/ci0.js src c:\projects\_output
19+
- dotnet ./ci/azpsci.dll docs
3120

3221
test: off
3322
on_success:
3423
- git clone -q --branch=%target_branch% %content_repo% %TEMP%\Azure
3524
- cd %TEMP%\Azure
36-
- ps: ls c:\projects\_output -dir | % { copy $_.FullName . -Recurse -Force }
25+
- ps: ls C:\docs -dir | % { copy $_.FullName . -Recurse -Force }
3726
- git add -A
3827
- git diff --quiet --exit-code --cached || git commit -m "Sync docs from source code repo to content repo." && git push origin %target_branch% && appveyor AddMessage "Content Updated"

build.proj

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<NetCore Condition=" $(NetCore) == '' " >false</NetCore>
5454
<SkipHelp Condition =" '$(SkipHelp)' == '' ">false</SkipHelp>
5555
<BuildTasksPath>$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks\bin\$(Configuration)</BuildTasksPath>
56-
<Stack Condition = "'$(Scope)' == '' or '$(Scope)' == 'all' or '$(Scope)' == 'Stack' ">true</Stack>
56+
<Stack Condition = "(('$(Scope)' == '' or '$(Scope)' == 'all') and '$(NetCore)' == 'false') or '$(Scope)' == 'Stack' ">true</Stack>
5757
<Latest Condition = "'$(Scope)' == '' or '$(Scope)' != 'Stack'">true</Latest>
5858
</PropertyGroup>
5959
<ItemGroup>
@@ -71,6 +71,7 @@
7171

7272
<StaticAnalysis Include=".\tools\StaticAnalysis\StaticAnalysis.sln" />
7373
<LocalBuildTasks Include="$(LibraryToolsFolder)\BuildPackagesTask\Microsoft.Azure.Build.Tasks.sln" />
74+
<LocalBuildTasks Include="$(LibraryToolsFolder)\RepoTasks\RepoTasks.sln" Condition="'$(NetCore)' == 'false'"/>
7475
</ItemGroup>
7576

7677
<!-- Tasks -->
@@ -148,6 +149,7 @@
148149
<NuGetRestoreConfigSwitch>-ConfigFile &quot;$(NuGetRestoreConfigFile)&quot;</NuGetRestoreConfigSwitch>
149150
<NuGetRestorePackageSetting>-PackagesDirectory $(LibraryNugetPackageFolder)</NuGetRestorePackageSetting>
150151
<NuGetLocalBuildTaskPackages>-PackagesDirectory $(LibraryToolsFolder)\BuildPackagesTask\packages</NuGetLocalBuildTaskPackages>
152+
<NuGetRepoTasksPackages>-PackagesDirectory $(LibraryToolsFolder)\RepoTasks\packages</NuGetRepoTasksPackages>
151153

152154
<PowerShellCommand Condition=" '$(PowerShellCommand)' == '' ">C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</PowerShellCommand>
153155
<PowerShellCoreCommand Condition=" '$(PowerShellCoreCommand)' == '' ">pwsh</PowerShellCoreCommand>
@@ -182,6 +184,11 @@
182184
<!-- Restore packages for local build tasks-->
183185
<Exec Command="$(NuGetCommand) restore %(LocalBuildTasks.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetLocalBuildTaskPackages)"
184186
ContinueOnError="false" />
187+
<!-- Restore packages for repo tasks tasks-->
188+
<Exec Command="$(NuGetCommand) restore %(LocalBuildTasks.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRepoTasksPackages)"
189+
ContinueOnError="false" />
190+
<Exec Command="$(NuGetCommand) restore %(SetupSln.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
191+
ContinueOnError="false" />
185192

186193
<!--Restore the xunit runner needed to run unit tests-->
187194
<Exec Command="$(NuGetCommand) restore $(MSBuildProjectDirectory)\packages.config -PackagesDirectory $(MSBuildProjectDirectory)\packages" />
@@ -194,8 +201,6 @@
194201
<Message Importance="high" Text="Building Cmdlets..." />
195202

196203
<MakeDir Directories="$(PackageDirectory)" />
197-
<Exec ContinueOnError="false"
198-
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\CreateMappings.ps1 -RootPath $(LibrarySourceFolder) -OutputFile $(PackageDirectory)\groupMapping.json -WarningFile $(PackageDirectory)\groupMappingWarnings.json -RulesFile $(LibraryToolsFolder)\CreateMappings_rules.json &quot;" Condition="'$(Latest)' == 'true'"/>
199204

200205
<MSBuild
201206
Projects="@(CmdletSolutionsToBuild)"
@@ -211,6 +216,10 @@
211216

212217
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Latest &quot; " Condition="'$(Latest)' == 'true' and '$(CodeSign)' == 'false'"/>
213218
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Stack &quot; " Condition="'$(Stack)' == 'true' and '$(CodeSign)' == 'false'"/>
219+
220+
<Exec ContinueOnError="false"
221+
Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot; . $(LibraryToolsFolder)\NewHelpIndex.ps1 -OutputFile $(PackageDirectory)\index.json -BuildConfig $(Configuration) &quot;" Condition="'$(Latest)' == 'true'"/>
222+
214223
<!-- Copying shortcut to be signed -->
215224
<Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psd1"
216225
DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true'"/>
@@ -245,6 +254,7 @@
245254

246255
<Message Importance="high" Text="Running Static Analyser" />
247256
<CallTarget targets="DependencyAnalysis" ContinueOnError="ErrorAndContinue" />
257+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CheckAssemblies.ps1 -BuildConfig $(Configuration) &quot;" />
248258
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CleanupBuild.ps1 -BuildConfig $(Configuration) &quot;" />
249259
</Target>
250260

@@ -298,7 +308,7 @@
298308
<Delete Files="@(ExtraPsdFiles->'%(FullPath)')"/>
299309

300310
<!-- Update module manifests. -->
301-
<Exec Command="&quot;$(PowerShellCoreCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) AzureRM.Netcore -Profile Latest &quot; " Condition="'$(Latest)' == 'true' and '$(CodeSign)' == 'false'" ContinueOnError="false" />
311+
<Exec Command="&quot;$(PowerShellCoreCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) AzureRM.Netcore -Profile Latest &quot; " Condition="'$(Latest)' == 'true'" ContinueOnError="false" />
302312

303313
<!-- Generate the help. -->
304314
<Exec Command="&quot;$(PowerShellCoreCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;Set-Variable -Name ProgressPreference -Value 'SilentlyContinue';. $(LibraryToolsFolder)\GenerateHelp.ps1 -GenerateMamlHelp -BuildConfig $(Configuration) &quot;" ContinueOnError="true" Condition=" '$(SkipHelp)' == 'false' and '$(Latest)' == 'true'"/>
@@ -372,8 +382,8 @@
372382
ContinueOnError="false"
373383
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToSign)' != ''"/>
374384

375-
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Latest &quot; " Condition="'$(Latest)' == 'true' "/>
376-
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Stack &quot; " Condition="'$(Stack)' == 'true' "/>
385+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Latest &quot; " Condition="'$(Latest)' == 'true' and '$(NetCore)' == 'false' "/>
386+
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Stack &quot; " Condition="'$(Stack)' == 'true' and '$(NetCore)' == 'false' "/>
377387

378388
<!-- Copying shortcut to be signed -->
379389
<Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psm1"
@@ -407,7 +417,7 @@
407417
Condition="!$(DelaySign) and '@(ScriptsToSign)' != ''"/>
408418

409419
<Exec Command="&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CheckSignature.ps1 -CustomPath $(LibrarySourceFolder)\Package\$(Configuration) &quot;"
410-
ContinueOnError="ErrorAndContinue" />
420+
ContinueOnError="ErrorAndContinue" Condition="'$(NetCore)' == 'false'"/>
411421

412422
<!-- Copying signed shortcut back -->
413423
<Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.Netcore.psd1"

0 commit comments

Comments
 (0)