Skip to content

Commit 1211301

Browse files
authored
Update archetype-cpp-release.yml
1 parent ed90cf9 commit 1211301

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/pipelines/templates/stages/archetype-cpp-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ stages:
197197

198198
- task: AzureCLI@2
199199
displayName: Authenticate to OpenSource API
200+
condition: and(succeeded(), eq(variables['PublishToVcpkg'], 'true'))
200201
inputs:
201202
azureSubscription: opensource-api-connection
202203
scriptType: pscore
@@ -211,7 +212,7 @@ stages:
211212
- pwsh: |
212213
$notifyUsers = ./eng/scripts/Get-TriggeringUserGitHubAlias.ps1 `
213214
-EmailAddress "$($env:BUILD_REQUESTEDFOREMAIL)" `
214-
-OpenApiToken "$(opensource-api-token)"
215+
-OpenApiToken "$(opensource-api-token)" `
215216
-Fallback '@rickwinter @ahsonkhan @antkmsft @gearama @LarryOsterman'
216217
217218
$prComment = "Adding ${{ artifact.Name }} to release"

0 commit comments

Comments
 (0)