diff --git a/AzurePipelines/Publish.UPM.yml b/AzurePipelines/Publish.UPM.yml index 16392ea..4f757ea 100644 --- a/AzurePipelines/Publish.UPM.yml +++ b/AzurePipelines/Publish.UPM.yml @@ -15,6 +15,8 @@ pool: steps: - task: Npm@1 +# Only update the version on master branch + condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') inputs: command: 'custom' customCommand: --no-git-tag-version version prerelease --preid=$(Build.BuildNumber)