Skip to content

Commit

Permalink
Changes to NuGet stage to the new project structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcovisserFurore committed Dec 20, 2022
1 parent 5734507 commit f1534bf
Showing 1 changed file with 2 additions and 47 deletions.
49 changes: 2 additions & 47 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,60 +287,15 @@ stages:
artifact: NuGetPackages
displayName: Download artifact NuGetPackages
- task: NuGetCommand@2
displayName: 'NuGet Push DSTU2 packages only'
condition: and(succeeded(), endswith(variables['Build.SourceBranch'], '-dstu2'))
displayName: 'NuGet Push packages'
inputs:
command: push
packagesToPush: '$(Agent.BuildDirectory)/NuGetPackages/*DSTU2*.nupkg'
packagesToPush: '$(Agent.BuildDirectory)/NuGetPackages/*.nupkg'
nuGetFeedType: external
publishFeedCredentials: NuGet
verbosityPush: normal
includeSymbols: true

- task: NuGetCommand@2
displayName: 'NuGet Push STU3 packages only and common packages'
condition: and(succeeded(), endswith(variables['Build.SourceBranch'], '-stu3'))
inputs:
command: push
packagesToPush: '$(Agent.BuildDirectory)/NuGetPackages/*.nupkg'
nuGetFeedType: external
publishFeedCredentials: NuGet
verbosityPush: normal
includeSymbols: true

- task: NuGetCommand@2
displayName: 'NuGet Push R4 packages only'
condition: and(succeeded(), endswith(variables['Build.SourceBranch'], '-r4'))
inputs:
command: push
packagesToPush: '$(Agent.BuildDirectory)/NuGetPackages/*R4*.nupkg'
nuGetFeedType: external
publishFeedCredentials: NuGet
verbosityPush: normal
includeSymbols: true

- task: NuGetCommand@2
displayName: 'NuGet Push R4B packages only'
condition: and(succeeded(), endswith(variables['Build.SourceBranch'], '-r4B'))
inputs:
command: push
packagesToPush: '$(Agent.BuildDirectory)/NuGetPackages/*R4B*.nupkg'
nuGetFeedType: external
publishFeedCredentials: NuGet
verbosityPush: normal
includeSymbols: true

- task: NuGetCommand@2
displayName: 'NuGet Push R5 packages only'
condition: and(succeeded(), endswith(variables['Build.SourceBranch'], '-r5'))
inputs:
command: push
packagesToPush: '$(Agent.BuildDirectory)/NuGetPackages/*R5*.nupkg'
nuGetFeedType: external
publishFeedCredentials: NuGet
verbosityPush: normal
includeSymbols: true

- deployment: relNotes
displayName: Release Notes
environment: NuGet
Expand Down

0 comments on commit f1534bf

Please sign in to comment.