Skip to content

Commit

Permalink
Updating tools to not alter build for Experiments modules
Browse files Browse the repository at this point in the history
  • Loading branch information
markcowl committed Sep 15, 2017
1 parent 66fde51 commit e372a86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function New-AzWebAppJustDoIt
}

<#
.ExternalHelp help\AzureRM.Websites.Experiments-help.xml
.ExternalHelp AzureRM.Websites.Experiments-help.xml
#>
function New-AzWebApp
{
Expand Down Expand Up @@ -567,7 +567,7 @@ function Get-WebSitesClient
}

<#
.ExternalHelp help\AzureRM.Websites.Experiments-help.xml
.ExternalHelp AzureRM.Websites.Experiments-help.xml
#>
function New-AzWebAppGrayParam
{
Expand Down
10 changes: 6 additions & 4 deletions tools/PublishModules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,12 @@ function Change-RMModule
ren $nupkgPath $zipPath
Write-Output "Expanding $zipPath"
Expand-Archive $zipPath -DestinationPath $dirPath
Write-Output "Adding PSM1 dependency to $unzippedManifest"
Add-PSM1Dependency -Path $unzippedManifest
Write-Output "Removing module manifest dependencies for $unzippedManifest"
Remove-ModuleDependencies -Path $unzippedManifest
if (!($moduleName.Contains("Experiment"))) {
Write-Output "Adding PSM1 dependency to $unzippedManifest"
Add-PSM1Dependency -Path $unzippedManifest
Write-Output "Removing module manifest dependencies for $unzippedManifest"
Remove-ModuleDependencies -Path $unzippedManifest
}

Remove-Item -Path $zipPath -Force
Write-Output "Repackaging $dirPath"
Expand Down

0 comments on commit e372a86

Please sign in to comment.