Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup/generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if( (-not (get-command -ea 0 light)) -or (-not (get-command -ea 0 heat)) -or (-n
$outputName ="Az-Cmdlets"

# generate the product name from the current month/year.
$productName = "Microsoft Azure PowerShell - $((Get-Culture).DateTimeFormat.GetMonthName((get-date).month)) $((get-date).year)"
$productName = "Microsoft Azure PowerShell - May 2020"

# where to put temp files
$tmp = Join-Path $env:temp azure-cmdlets-tmp
Expand Down
4 changes: 2 additions & 2 deletions tools/RunVersionController.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ function Update-AzurecmdFile
[string]$RootPath
)

$AzurecmdFile = Get-Item -Path "$RootPath\setup\azurecmd.wxs"
$AzurecmdFile = Get-Item -Path "$RootPath\setup\generate.ps1"
(Get-Content $AzurecmdFile.FullName) | % {
$_ -replace "Microsoft Azure PowerShell - (\w*)(\s)(\w*)", "Microsoft Azure PowerShell - $Release"
$_ -replace "Microsoft Azure PowerShell - (\w*)(\s)(\d*)", "Microsoft Azure PowerShell - $Release"
} | Set-Content -Path $AzurecmdFile.FullName -Encoding UTF8

(Get-Content $AzurecmdFile.FullName) | % {
Expand Down