From 975f612289b9871113b9aa610a5099911de6146e Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Fri, 11 Mar 2016 17:23:19 -0800 Subject: [PATCH 1/8] Update assembly versions of storage cmdlets. --- src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs | 4 ++-- .../Storage/Commands.Storage/Properties/AssemblyInfo.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs b/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs index 8327bc4dc1db..52c4da5c15cc 100644 --- a/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs +++ b/src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs @@ -24,5 +24,5 @@ [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] [assembly: Guid("c565107e-98a9-4703-85cd-a7efc3d8da7b")] -[assembly: AssemblyVersion("1.0.0")] -[assembly: AssemblyFileVersion("1.0.0")] +[assembly: AssemblyVersion("1.0.5")] +[assembly: AssemblyFileVersion("1.0.5")] diff --git a/src/Common/Storage/Commands.Storage/Properties/AssemblyInfo.cs b/src/Common/Storage/Commands.Storage/Properties/AssemblyInfo.cs index 50b5ad188983..e1cdf260da12 100644 --- a/src/Common/Storage/Commands.Storage/Properties/AssemblyInfo.cs +++ b/src/Common/Storage/Commands.Storage/Properties/AssemblyInfo.cs @@ -44,8 +44,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.4")] -[assembly: AssemblyFileVersion("1.0.4")] +[assembly: AssemblyVersion("1.0.5")] +[assembly: AssemblyFileVersion("1.0.5")] #if SIGN [assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.Storage.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] From f8992b02ec56b2cf83b4671c0b1481cbe38ac07d Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Fri, 11 Mar 2016 17:47:52 -0800 Subject: [PATCH 2/8] Added Release preparation script. --- tools/PreparePSRelease.ps1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tools/PreparePSRelease.ps1 diff --git a/tools/PreparePSRelease.ps1 b/tools/PreparePSRelease.ps1 new file mode 100644 index 000000000000..6c493e7d2cb5 --- /dev/null +++ b/tools/PreparePSRelease.ps1 @@ -0,0 +1,16 @@ +[CmdletBinding()] +Param( +[Parameter(Mandatory=$False, Position=0)] +[String]$Folder, +[Parameter(ParameterSetName="Major", Mandatory=$True)] +[Switch]$Major, +[Parameter(ParameterSetName="Minor", Mandatory=$True)] +[Switch]$Minor, +[Parameter(ParameterSetName="Patch", Mandatory=$True)] +[Switch]$Patch +) + +.\ASMIncrementVersion.ps1 $Folder $Major $Minor $Patch +.\ARMIncrementVersion.ps1 $Folder $Major $Minor $Patch +.\ARMSyncVersion.ps1 $Folder $Major $Minor $Patch +.\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" $Major $Minor $Patch \ No newline at end of file From 217efc5e1d1a99cc07cdb3991254fdaff3467c4a Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Mon, 14 Mar 2016 15:48:16 -0700 Subject: [PATCH 3/8] Fixed PreparePSRelease.ps1 script --- tools/ARMIncrementVersion.ps1 | 18 +++++++++--------- tools/ASMIncrementVersion.ps1 | 18 +++++++++--------- tools/PreparePSRelease.ps1 | 14 +++++++------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/tools/ARMIncrementVersion.ps1 b/tools/ARMIncrementVersion.ps1 index 7577acc96958..0375ee2e90b3 100644 --- a/tools/ARMIncrementVersion.ps1 +++ b/tools/ARMIncrementVersion.ps1 @@ -2,12 +2,12 @@ Param( [Parameter(Mandatory=$False, Position=0)] [String]$Folder, -[Parameter(ParameterSetName="Major", Mandatory=$True)] -[Switch]$Major, -[Parameter(ParameterSetName="Minor", Mandatory=$True)] -[Switch]$Minor, -[Parameter(ParameterSetName="Patch", Mandatory=$True)] -[Switch]$Patch +[Parameter(Mandatory=$False)] +[bool]$Major, +[Parameter(Mandatory=$False)] +[bool]$Minor, +[Parameter(Mandatory=$False)] +[bool]$Patch ) # Function to update nuspec file @@ -27,20 +27,20 @@ function IncrementVersion([string]$FilePath) $cMinor = $Minor $cPatch = $Patch - if ($cMajor) + if ($cMajor -eq $true) { $version[0] = 1 + $version[0] $version[1] = "0" $version[2] = "0" } - if ($cMinor) + if ($cMinor -eq $true) { $version[1] = 1 + $version[1] $version[2] = "0" } - if ($cPatch) + if ($cPatch -eq $true) { $version[2] = 1 + $version[2] } diff --git a/tools/ASMIncrementVersion.ps1 b/tools/ASMIncrementVersion.ps1 index 81808c41418a..d73744461d64 100644 --- a/tools/ASMIncrementVersion.ps1 +++ b/tools/ASMIncrementVersion.ps1 @@ -2,12 +2,12 @@ Param( [Parameter(Mandatory=$False, Position=0)] [String]$Folder, -[Parameter(ParameterSetName="Major", Mandatory=$True)] -[Switch]$Major, -[Parameter(ParameterSetName="Minor", Mandatory=$True)] -[Switch]$Minor, -[Parameter(ParameterSetName="Patch", Mandatory=$True)] -[Switch]$Patch +[Parameter(Mandatory=$False)] +[bool]$Major, +[Parameter(Mandatory=$False)] +[bool]$Minor, +[Parameter(Mandatory=$False)] +[bool]$Patch ) # Function to update nuspec file @@ -27,20 +27,20 @@ function IncrementVersion([string]$FilePath) $cMinor = $Minor $cPatch = $Patch - if ($cMajor) + if ($cMajor -eq $true) { $version[0] = 1 + $version[0] $version[1] = "0" $version[2] = "0" } - if ($cMinor) + if ($cMinor -eq $true) { $version[1] = 1 + $version[1] $version[2] = "0" } - if ($cPatch) + if ($cPatch -eq $true) { $version[2] = 1 + $version[2] } diff --git a/tools/PreparePSRelease.ps1 b/tools/PreparePSRelease.ps1 index 6c493e7d2cb5..a43a86f02a72 100644 --- a/tools/PreparePSRelease.ps1 +++ b/tools/PreparePSRelease.ps1 @@ -2,15 +2,15 @@ Param( [Parameter(Mandatory=$False, Position=0)] [String]$Folder, -[Parameter(ParameterSetName="Major", Mandatory=$True)] +[Parameter(ParameterSetName="Major")] [Switch]$Major, -[Parameter(ParameterSetName="Minor", Mandatory=$True)] +[Parameter(ParameterSetName="Minor")] [Switch]$Minor, -[Parameter(ParameterSetName="Patch", Mandatory=$True)] +[Parameter(ParameterSetName="Patch")] [Switch]$Patch ) -.\ASMIncrementVersion.ps1 $Folder $Major $Minor $Patch -.\ARMIncrementVersion.ps1 $Folder $Major $Minor $Patch -.\ARMSyncVersion.ps1 $Folder $Major $Minor $Patch -.\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" $Major $Minor $Patch \ No newline at end of file +.\ASMIncrementVersion.ps1 $Folder -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent +.\ARMIncrementVersion.ps1 $Folder -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent +.\ARMSyncVersion.ps1 $Folder +.\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent \ No newline at end of file From 2aeac08df8eabd748eff392c73f1aff91c11696a Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Mon, 14 Mar 2016 16:46:36 -0700 Subject: [PATCH 4/8] Added MSI update script --- tools/PreparePSRelease.ps1 | 9 +++++-- tools/SetMsiVersion.ps1 | 48 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 tools/SetMsiVersion.ps1 diff --git a/tools/PreparePSRelease.ps1 b/tools/PreparePSRelease.ps1 index a43a86f02a72..94ff3da4799e 100644 --- a/tools/PreparePSRelease.ps1 +++ b/tools/PreparePSRelease.ps1 @@ -1,6 +1,10 @@ [CmdletBinding()] Param( -[Parameter(Mandatory=$False, Position=0)] +[Parameter(Mandatory=$True, Position=0)] +[String]$Version, +[Parameter(Mandatory=$True, Position=1)] +[String]$Release, +[Parameter(Mandatory=$False, Position=2)] [String]$Folder, [Parameter(ParameterSetName="Major")] [Switch]$Major, @@ -13,4 +17,5 @@ Param( .\ASMIncrementVersion.ps1 $Folder -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent .\ARMIncrementVersion.ps1 $Folder -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent .\ARMSyncVersion.ps1 $Folder -.\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent \ No newline at end of file +.\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent +.\SetMsiVersion.ps1 $Version $Release $Folder \ No newline at end of file diff --git a/tools/SetMsiVersion.ps1 b/tools/SetMsiVersion.ps1 new file mode 100644 index 000000000000..139491e8b4b5 --- /dev/null +++ b/tools/SetMsiVersion.ps1 @@ -0,0 +1,48 @@ +[CmdletBinding()] +Param( +[Parameter(Mandatory=$True, Position=0)] +[String]$Version, +[Parameter(Mandatory=$True, Position=1)] +[String]$Release, +[Parameter(Mandatory=$False, Position=2)] +[String]$Folder +) + +function SetMsiVersion([string]$FilePath, [string]$MsiVersion) +{ + $wxsPath = Join-Path $FilePath "azurecmd.wxs" + + Write-Output "Updating File: $wxsPath" + $content = Get-Content $wxsPath + $matches = ([regex]::matches($content, '\<\?define version="([\d\.]+)" \?\>')) + + $prevousVersion = $matches.Groups[1].Value + + $content = $content.Replace("", "") + + Set-Content -Path $wxsPath -Value $content -Encoding UTF8 +} + +function SetMsiReleaseString([string]$FilePath, [string]$MsiRelease) +{ + $wxsPath = Join-Path $FilePath "azurecmd.wxs" + + Write-Output "Updating File: $wxsPath" + $content = Get-Content $wxsPath + $matches = ([regex]::matches($content, '\<\?define productName="Microsoft Azure PowerShell - ([a-zA-z]+\s[\d]+)" \?\>')) + + $prevousVersion = $matches.Groups[1].Value + Write-Output "Found: $prevousVersion" + + $content = $content.Replace("", "") + + Set-Content -Path $wxsPath -Value $content -Encoding UTF8 +} + +if (!$Folder) +{ + $Folder = "$PSScriptRoot\..\setup" +} + +SetMsiVersion $Folder $Version +SetMsiReleaseString $Folder $Release \ No newline at end of file From 8a1a7fca002f1cf5641e4755fc579a7b03d85282 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Mon, 14 Mar 2016 17:51:51 -0700 Subject: [PATCH 5/8] Updated SetMsiVersion script to align Azure and AzureRM modules. --- tools/PreparePSRelease.ps1 | 2 ++ tools/SetMsiVersion.ps1 | 39 +++++++++++++++++++++++++++++++++----- 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/tools/PreparePSRelease.ps1 b/tools/PreparePSRelease.ps1 index 94ff3da4799e..305239366881 100644 --- a/tools/PreparePSRelease.ps1 +++ b/tools/PreparePSRelease.ps1 @@ -1,3 +1,5 @@ +# e.g. .\PreparePSRelease.ps1 9.10.11 "Spring 2018" -Patch +# [CmdletBinding()] Param( [Parameter(Mandatory=$True, Position=0)] diff --git a/tools/SetMsiVersion.ps1 b/tools/SetMsiVersion.ps1 index 139491e8b4b5..5e33c3eaf421 100644 --- a/tools/SetMsiVersion.ps1 +++ b/tools/SetMsiVersion.ps1 @@ -10,7 +10,7 @@ Param( function SetMsiVersion([string]$FilePath, [string]$MsiVersion) { - $wxsPath = Join-Path $FilePath "azurecmd.wxs" + $wxsPath = Join-Path $FilePath "setup\azurecmd.wxs" Write-Output "Updating File: $wxsPath" $content = Get-Content $wxsPath @@ -25,24 +25,53 @@ function SetMsiVersion([string]$FilePath, [string]$MsiVersion) function SetMsiReleaseString([string]$FilePath, [string]$MsiRelease) { - $wxsPath = Join-Path $FilePath "azurecmd.wxs" + $wxsPath = Join-Path $FilePath "setup\azurecmd.wxs" Write-Output "Updating File: $wxsPath" $content = Get-Content $wxsPath $matches = ([regex]::matches($content, '\<\?define productName="Microsoft Azure PowerShell - ([a-zA-z]+\s[\d]+)" \?\>')) $prevousVersion = $matches.Groups[1].Value - Write-Output "Found: $prevousVersion" $content = $content.Replace("", "") Set-Content -Path $wxsPath -Value $content -Encoding UTF8 } +function AlignAsmPsdReleaseVersion([string]$FilePath, [string]$MsiVersion) +{ + $psd1Path = Join-Path $FilePath "src\ServiceManagement\Services\Commands.Utilities\Azure.psd1" + + $content = Get-Content $psd1Path + $matches = ([regex]::matches($content, "ModuleVersion = '([\d\.]+)'\s+")) + + $packageVersion = $matches.Groups[1].Value + Write-Output "Updating version of $psd1Path from $packageVersion to $MsiVersion" + $content = $content.Replace("ModuleVersion = '$packageVersion'", "ModuleVersion = '$MsiVersion'") + + Set-Content -Path $psd1Path -Value $content -Encoding UTF8 +} + +function AlignArmPsdReleaseVersion([string]$FilePath, [string]$MsiVersion) +{ + $psd1Path = Join-Path $FilePath "tools\AzureRM\AzureRM.psd1" + + $content = Get-Content $psd1Path + $matches = ([regex]::matches($content, "ModuleVersion = '([\d\.]+)'\s+")) + + $packageVersion = $matches.Groups[1].Value + Write-Output "Updating version of $psd1Path from $packageVersion to $MsiVersion" + $content = $content.Replace("ModuleVersion = '$packageVersion'", "ModuleVersion = '$MsiVersion'") + + Set-Content -Path $psd1Path -Value $content -Encoding UTF8 +} + if (!$Folder) { - $Folder = "$PSScriptRoot\..\setup" + $Folder = "$PSScriptRoot\.." } SetMsiVersion $Folder $Version -SetMsiReleaseString $Folder $Release \ No newline at end of file +SetMsiReleaseString $Folder $Release +AlignAsmPsdReleaseVersion $Folder $Version +AlignArmPsdReleaseVersion $Folder $Version \ No newline at end of file From 408699c44442ec47f895a0ce3ec8810b6db5436b Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Mon, 14 Mar 2016 18:10:19 -0700 Subject: [PATCH 6/8] Added Storage package increments to PreparePSRelease.ps1 --- tools/PreparePSRelease.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/PreparePSRelease.ps1 b/tools/PreparePSRelease.ps1 index 305239366881..ee31dc140daf 100644 --- a/tools/PreparePSRelease.ps1 +++ b/tools/PreparePSRelease.ps1 @@ -19,5 +19,7 @@ Param( .\ASMIncrementVersion.ps1 $Folder -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent .\ARMIncrementVersion.ps1 $Folder -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent .\ARMSyncVersion.ps1 $Folder +.\ARMIncrementVersion.ps1 "$PSScriptRoot\..\src\Common\Storage" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent +.\ARMSyncVersion.ps1 "$PSScriptRoot\..\src\Common\Storage" .\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent .\SetMsiVersion.ps1 $Version $Release $Folder \ No newline at end of file From 50e3e5a75cafeec81a42173b7bba47c920b8d023 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Mon, 14 Mar 2016 18:29:04 -0700 Subject: [PATCH 7/8] Added assembly info to RemoteApp ASM project. --- .../Commands.RemoteApp.csproj | 1 + .../Properties/AssemblyInfo.cs | 35 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/ServiceManagement/RemoteApp/Commands.RemoteApp/Properties/AssemblyInfo.cs diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj index 79ece160c2c0..623938da3556 100644 --- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj +++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Commands.RemoteApp.csproj @@ -173,6 +173,7 @@ + diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Properties/AssemblyInfo.cs b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..0bafdf8af67a --- /dev/null +++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Microsoft Azure Powershell")] +[assembly: AssemblyCompany("Microsoft")] +[assembly: AssemblyProduct("Microsoft Azure Powershell")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +[assembly: AssemblyVersion("1.0.5")] +[assembly: AssemblyFileVersion("1.0.5")] +[assembly: CLSCompliant(false)] From 6e4c94d8703af84c9340ebc8aafebd08a27e33a6 Mon Sep 17 00:00:00 2001 From: Hovsep Mkrtchyan Date: Mon, 14 Mar 2016 18:59:50 -0700 Subject: [PATCH 8/8] Added common file version upgrade --- tools/CommonIncrementVersion.ps1 | 39 ++++++++++++++++++++++++++++++++ tools/PreparePSRelease.ps1 | 1 + 2 files changed, 40 insertions(+) create mode 100644 tools/CommonIncrementVersion.ps1 diff --git a/tools/CommonIncrementVersion.ps1 b/tools/CommonIncrementVersion.ps1 new file mode 100644 index 000000000000..22bcfa816610 --- /dev/null +++ b/tools/CommonIncrementVersion.ps1 @@ -0,0 +1,39 @@ +[CmdletBinding()] +Param( +[Parameter(Mandatory=$True, Position=0)] +[String]$Version, +[Parameter(Mandatory=$False, Position=1)] +[String]$Folder +) + +function SetCommandsCommonVersion([string]$FilePath, [string]$Version) +{ + $powershellCs = Join-Path $FilePath "Common\Commands.Common\AzurePowerShell.cs" + + Write-Output "Updating File: $powershellCs" + $content = Get-Content $powershellCs + $content = $content -replace "public const string AssemblyVersion = `"([\d\.]+)`";", "public const string AssemblyVersion = `"$Version`";" + $content = $content -replace "public const string AssemblyFileVersion = `"([\d\.]+)`";", "public const string AssemblyFileVersion = `"$Version`";" + + Set-Content -Path $powershellCs -Value $content -Encoding UTF8 +} + +function SetArmCommonVersion([string]$FilePath, [string]$Version) +{ + $assemblyConfig = Join-Path $FilePath "ResourceManager\Common\Commands.ResourceManager.Common\Properties\AssemblyInfo.cs" + + Write-Output "Updating File: $assemblyConfig" + $content = Get-Content $assemblyConfig + $content = $content -replace "\[assembly: AssemblyVersion\([\w\`"\.]+\)\]", "[assembly: AssemblyVersion(`"$Version`")]" + $content = $content -replace "\[assembly: AssemblyFileVersion\([\w\`"\.]+\)\]", "[assembly: AssemblyFileVersion(`"$Version`")]" + + Set-Content -Path $assemblyConfig -Value $content -Encoding UTF8 +} + +if (!$Folder) +{ + $Folder = "$PSScriptRoot\..\src" +} + +SetCommandsCommonVersion $Folder $Version +SetArmCommonVersion $Folder $Version \ No newline at end of file diff --git a/tools/PreparePSRelease.ps1 b/tools/PreparePSRelease.ps1 index ee31dc140daf..5fdf068fac8a 100644 --- a/tools/PreparePSRelease.ps1 +++ b/tools/PreparePSRelease.ps1 @@ -22,4 +22,5 @@ Param( .\ARMIncrementVersion.ps1 "$PSScriptRoot\..\src\Common\Storage" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent .\ARMSyncVersion.ps1 "$PSScriptRoot\..\src\Common\Storage" .\ARMIncrementVersion.ps1 "$PSScriptRoot\AzureRM" -Major $Major.IsPresent -Minor $Minor.IsPresent -Patch $Patch.IsPresent +.\CommonIncrementVersion.ps1 $Version $Folder .\SetMsiVersion.ps1 $Version $Release $Folder \ No newline at end of file