File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,14 @@ if($appType -eq 'app')
55
55
}
56
56
}
57
57
58
- if (($appBuildMode -eq ' Strict' ) -and ! (Test-IsStrictModeEnabled )) {
59
- Write-Host " ::Warning:: Strict mode is not enabled for this branch. Exiting without enabling the strict mode breaking changes check."
60
- return
58
+ if ($appBuildMode -eq ' Strict' ) {
59
+ if (! (Test-IsStrictModeEnabled )) {
60
+ Write-Host " ::Warning:: Strict mode is not enabled for this branch. Exiting without enabling the strict mode breaking changes check."
61
+ return
62
+ } else {
63
+ Write-Host " Enabling minor release ruleset for strict mode breaking changes check"
64
+ $parameters.Value [" ruleset" ] = Get-RulesetPath - Name " minorrelease.ruleset.json"
65
+ }
61
66
}
62
67
63
68
Enable-BreakingChangesCheck - AppSymbolsFolder $parameters.Value [" appSymbolsFolder" ] - AppProjectFolder $parameters.Value [" appProjectFolder" ] - BuildMode $appBuildMode | Out-Null
You can’t perform that action at this time.
0 commit comments