|
@@ -121,51 +121,51 @@ jobs:
|
|
- checkout: none
|
|
- checkout: none
|
|
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
- task: DownloadPipelineArtifact@2
|
|
- displayName: Download the Reference Assembly Build Artifact
|
|
|
|
|
|
+ displayName: Download the New Assembly Build Artifact
|
|
inputs:
|
|
inputs:
|
|
- source: 'specific' # Options: current, specific
|
|
|
|
|
|
+ source: 'current' # Options: current, specific
|
|
#preferTriggeringPipeline: false # Optional
|
|
#preferTriggeringPipeline: false # Optional
|
|
#tags: # Optional
|
|
#tags: # Optional
|
|
artifact: '$(NugetPackageName)' # Optional
|
|
artifact: '$(NugetPackageName)' # Optional
|
|
#patterns: '**' # Optional
|
|
#patterns: '**' # Optional
|
|
- path: '$(System.ArtifactsDirectory)/current-artifacts'
|
|
|
|
- project: '$(System.TeamProjectId)' # Required when source == Specific
|
|
|
|
- pipeline: '$(System.DefinitionId)' # Required when source == Specific
|
|
|
|
- runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific
|
|
|
|
- runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch
|
|
|
|
|
|
+ path: '$(System.ArtifactsDirectory)/new-artifacts'
|
|
|
|
+ #project: # Required when source == Specific
|
|
|
|
+ #pipeline: # Required when source == Specific
|
|
|
|
+ runVersion: 'latest' # Required when source == Specific. Options: latest, latestFromBranch, specific
|
|
|
|
+ #runBranch: 'refs/heads/master' # Required when source == Specific && runVersion == LatestFromBranch
|
|
#runId: # Required when source == Specific && runVersion == Specific
|
|
#runId: # Required when source == Specific && runVersion == Specific
|
|
|
|
|
|
- task: CopyFiles@2
|
|
- task: CopyFiles@2
|
|
- displayName: Copy Nuget Assembly to current-release folder
|
|
|
|
|
|
+ displayName: Copy Artifact Assembly to new-release folder
|
|
inputs:
|
|
inputs:
|
|
- sourceFolder: $(System.ArtifactsDirectory)/current-artifacts # Optional
|
|
|
|
|
|
+ sourceFolder: $(System.ArtifactsDirectory)/new-artifacts # Optional
|
|
contents: '**/*.dll'
|
|
contents: '**/*.dll'
|
|
- targetFolder: $(System.ArtifactsDirectory)/current-release
|
|
|
|
|
|
+ targetFolder: $(System.ArtifactsDirectory)/new-release
|
|
cleanTargetFolder: true # Optional
|
|
cleanTargetFolder: true # Optional
|
|
overWrite: true # Optional
|
|
overWrite: true # Optional
|
|
- flattenFolders: true # Optional
|
|
|
|
|
|
+ flattenFolders: true # Optional
|
|
|
|
|
|
- task: DownloadPipelineArtifact@2
|
|
- task: DownloadPipelineArtifact@2
|
|
- displayName: Download the New Assembly Build Artifact
|
|
|
|
|
|
+ displayName: Download the Reference Assembly Build Artifact
|
|
inputs:
|
|
inputs:
|
|
- source: 'current' # Options: current, specific
|
|
|
|
|
|
+ source: 'specific' # Options: current, specific
|
|
#preferTriggeringPipeline: false # Optional
|
|
#preferTriggeringPipeline: false # Optional
|
|
#tags: # Optional
|
|
#tags: # Optional
|
|
artifact: '$(NugetPackageName)' # Optional
|
|
artifact: '$(NugetPackageName)' # Optional
|
|
#patterns: '**' # Optional
|
|
#patterns: '**' # Optional
|
|
- path: '$(System.ArtifactsDirectory)/new-artifacts'
|
|
|
|
- #project: # Required when source == Specific
|
|
|
|
- #pipeline: # Required when source == Specific
|
|
|
|
- runVersion: 'latest' # Required when source == Specific. Options: latest, latestFromBranch, specific
|
|
|
|
- #runBranch: 'refs/heads/master' # Required when source == Specific && runVersion == LatestFromBranch
|
|
|
|
|
|
+ path: '$(System.ArtifactsDirectory)/current-artifacts'
|
|
|
|
+ project: '$(System.TeamProjectId)' # Required when source == Specific
|
|
|
|
+ pipeline: '$(System.DefinitionId)' # Required when source == Specific
|
|
|
|
+ runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific
|
|
|
|
+ runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch
|
|
#runId: # Required when source == Specific && runVersion == Specific
|
|
#runId: # Required when source == Specific && runVersion == Specific
|
|
|
|
|
|
- task: CopyFiles@2
|
|
- task: CopyFiles@2
|
|
- displayName: Copy Artifact Assembly to new-release folder
|
|
|
|
|
|
+ displayName: Copy Nuget Assembly to current-release folder
|
|
inputs:
|
|
inputs:
|
|
- sourceFolder: $(System.ArtifactsDirectory)/new-artifacts # Optional
|
|
|
|
|
|
+ sourceFolder: $(System.ArtifactsDirectory)/current-artifacts # Optional
|
|
contents: '**/*.dll'
|
|
contents: '**/*.dll'
|
|
- targetFolder: $(System.ArtifactsDirectory)/new-release
|
|
|
|
|
|
+ targetFolder: $(System.ArtifactsDirectory)/current-release
|
|
cleanTargetFolder: true # Optional
|
|
cleanTargetFolder: true # Optional
|
|
overWrite: true # Optional
|
|
overWrite: true # Optional
|
|
flattenFolders: true # Optional
|
|
flattenFolders: true # Optional
|