Disable Distribution Stage for Feature Branches
@@ -423,6 +423,6 @@ stages:
dependsOn:
- build_windows
- build_linux
- condition: and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), succeeded())
+ condition: and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/')), succeeded())
jobs:
- template: ./templates/build-distribution.yml
