Skip to content
Permalink
Browse files

Update azure-pipelines.yml for Azure Pipelines

  • Loading branch information...
RicoSuter committed May 31, 2019
1 parent 0002d5b commit 3c1483f961f9057e2e5ba472269ac1d327febff8
Showing with 3 additions and 3 deletions.
  1. +3 −3 azure-pipelines.yml
@@ -35,7 +35,7 @@ steps:
# failOnStderr: true
- task: CmdLine@2
displayName: 'Patch project version preview'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
condition: and(succeeded(), ne(variables['Build.SourceBranch'], 'refs/heads/release'))
inputs:
script: 'dnt bump-versions preview "$(Build.BuildNumber)"'
failOnStderr: true
@@ -61,14 +61,14 @@ steps:
# Publish artifacts
- task: CopyFiles@2
displayName: 'Copy packages'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
# condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
inputs:
Contents: '**/*.nupkg'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
flattenFolders: true
- task: PublishBuildArtifacts@1
displayName: 'Publish artifacts'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
# condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'drop'

0 comments on commit 3c1483f

Please sign in to comment.
You can’t perform that action at this time.