Skip to content

Commit

Permalink
Disable git version for PRs from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Jul 12, 2018
1 parent 459f90f commit 8df9aa9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ phases:
clean: true

- task: GitVersion@3
# Ignore gitversion for forks, until this is fixed:
# https://developercommunity.visualstudio.com/content/problem/284991/public-vsts-previouw-cant-set-build-number-of-pr-b.html
condition: eq(variables['System.PullRequest.IsFork'], 'False')
inputs:
updateAssemblyInfo: false

Expand Down

0 comments on commit 8df9aa9

Please sign in to comment.