Skip to content

Commit

Permalink
only publish to myget on dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
leastprivilege committed Apr 3, 2019
1 parent ed154c9 commit 1cd5830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
packagesToPush: 'nuget/*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'MyGet'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))

0 comments on commit 1cd5830

Please sign in to comment.