File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ function IncrementVersion([string]$FilePath)
52
52
Write-Output " Updating File: $FilePath "
53
53
(Get-Content $FilePath ) |
54
54
ForEach-Object {
55
- $temp = ReplaceVersion( " ModuleVersion" , $_ )
56
- ReplaceVersion( " RequiredVersion" , $temp )
55
+ $temp = ReplaceVersion " ModuleVersion" $_
56
+ ReplaceVersion " RequiredVersion" $temp
57
57
} | Set-Content - Path $FilePath - Encoding UTF8
58
58
}
59
59
Original file line number Diff line number Diff line change 16
16
[Switch ]$Patch
17
17
)
18
18
19
+ $ErrorActionPreference = " Stop"
19
20
.\ASMIncrementVersion.ps1 $Folder - Major $Major.IsPresent - Minor $Minor.IsPresent - Patch $Patch.IsPresent
20
21
.\ARMIncrementVersion.ps1 $Folder - Major $Major.IsPresent - Minor $Minor.IsPresent - Patch $Patch.IsPresent
21
22
.\ARMSyncVersion.ps1 $Folder
You can’t perform that action at this time.
0 commit comments