Skip to content

Commit fb938e5

Browse files
committed
ci: update env var name
1 parent 4ddd9be commit fb938e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.azure-pipelines/generation-templates/capture-metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ steps:
168168
- pwsh: '$(scriptsDirectory)/git-push-cleanmetadata.ps1'
169169
displayName: push clean ${{ parameters.endpoint }} CSDL metadata to msgraph-metadata repo
170170
env:
171-
CreatePR: False
171+
CreateOpenAPIPR: False
172172
EndpointVersion: ${{ parameters.endpoint }}
173173
PublishChanges: $(publishChanges)
174174
workingDirectory: '$(Build.SourcesDirectory)/msgraph-metadata'

.azure-pipelines/generation-templates/capture-openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
- pwsh: '$(scriptsDirectory)/git-push-cleanmetadata.ps1'
160160
displayName: PR for ${{ parameters.endpoint }} OpenAPI description in msgraph-metadata repo
161161
env:
162-
CreatePR: True
162+
CreateOpenAPIPR: True
163163
EndpointVersion: ${{ parameters.endpoint }}
164164
PublishChanges: $(publishChanges)
165165
workingDirectory: '$(Build.SourcesDirectory)/msgraph-metadata'

scripts/git-push-cleanmetadata.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ git stash pop | Write-Host
3535
Write-Host "`ngit status:"
3636
git status | Write-Host
3737

38-
if ($env:CreatePR -eq $True)
38+
if ($env:CreateOpenAPIPR -eq $True)
3939
{
4040
Write-Host "`nCreate branch: $env:BUILD_BUILDID/updateOpenAPI"
4141
git checkout -B $env:BUILD_BUILDID/updateOpenAPI | Write-Host
@@ -61,7 +61,7 @@ else
6161
Write-Host "`ngit status:"
6262
git status | Write-Host
6363

64-
if ($env:CreatePR -eq $True)
64+
if ($env:CreateOpenAPIPR -eq $True)
6565
{
6666
Write-Host "`nPushing branch for PR creation"
6767

0 commit comments

Comments
 (0)