Skip to content

Commit

Permalink
[releases/24.0] Return rather than exit strictmode when tag isn't pre…
Browse files Browse the repository at this point in the history
…sent (#652)

This pull request backports #641 to releases/24.0

+ Reenable strict mode 

Fixes
[AB#502108](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/502108)
  • Loading branch information
aholstrup1 authored Feb 28, 2024
1 parent 92c5e5d commit a7c1fa8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/projects/Business Foundation/.AL-Go/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"releases/*.[0-5]"
],
"settings": {
"buildModes": [ ]
"buildModes": [ "Strict" ]
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion build/projects/Performance Toolkit/.AL-Go/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"releases/*.[0-5]"
],
"settings": {
"buildModes": [ ]
"buildModes": [ "Strict" ]
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion build/projects/System Application/.AL-Go/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"releases/*.[0-5]"
],
"settings": {
"buildModes": [ "Translated" ]
"buildModes": [ "Translated", "Strict"]
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion build/projects/Test Framework/.AL-Go/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"releases/*.[0-5]"
],
"settings": {
"buildModes": [ "Translated" ]
"buildModes": [ "Translated", "Strict"]
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/PreCompileApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if($appType -eq 'app')

if(($appBuildMode -eq 'Strict') -and !(Test-IsStrictModeEnabled)) {
Write-Host "::Warning:: Strict mode is not enabled for this branch. Exiting without enabling the strict mode breaking changes check."
exit
return
}

Enable-BreakingChangesCheck -AppSymbolsFolder $parameters.Value["appSymbolsFolder"] -AppProjectFolder $parameters.Value["appProjectFolder"] -BuildMode $appBuildMode | Out-Null
Expand Down

0 comments on commit a7c1fa8

Please sign in to comment.