Skip to content

Commit 5cc0943

Browse files
committed
Updated script and pipeline
1 parent 146cab4 commit 5cc0943

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.azure-pipelines/common-templates/download-openapi-docs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,15 @@ steps:
9292
script: |
9393
. "$(System.DefaultWorkingDirectory)\tools\Versions\BumpModuleVersion.ps1" -BumpV1Module -BumpBetaModule -BumpAuthModule -Debug
9494
95+
- task: PowerShell@2
96+
name: GenerateOpenApiErrorAndInfoFiles
97+
displayName: Generate OpenApi error and info file for detecting unnecessary changes that would lead to a breaking change
98+
inputs:
99+
pwsh: true
100+
targetType: inline
101+
script: |
102+
. "$(System.DefaultWorkingDirectory)\tools\OpenApiInfoGenerator\OpenApiInfoGenerator\GenerateErrorAndInfoFile.ps1"
103+
95104
- task: Bash@3
96105
displayName: Commit downloaded files
97106
condition: and(succeeded(), ne(variables['OpenAPIDocDiff.ModulesWithChanges'], ''))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dotnet run

tools/OpenApiInfoGenerator/OpenApiInfoGenerator/OpenApiChanges.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ function Start-Validation {
3636
}
3737

3838
}
39-
dotnet run
4039
Start-Validation

0 commit comments

Comments
 (0)