Fix C++ multi-package UP release (#633)

This commit is contained in:
Daniel Jurek 2020-09-09 20:18:47 -07:00 committed by GitHub
parent 0470ff8142
commit 48e06b6e4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ parameters:
stages:
- ${{if and(eq(variables['Build.Reason'], 'Manual'), eq(variables['System.TeamProject'], 'internal'))}}:
- ${{ each artifact in parameters.Artifacts }}:
- stage: Release_${{artifact.safeName}}
- stage: Release_${{ replace(artifact.Name, '-', '_') }}
displayName: 'Release ${{artifact.name}}'
dependsOn: Build
condition: and(succeeded(), ne(variables['Build.Repository.Name'], 'Azure/azure-sdk-for-cpp'))