Skip to content

Commit

Permalink
Cherrypick branch fix to prerelease branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Aug 11, 2023
1 parent e7839c5 commit fbe8160
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ trigger:
pr: none

variables:
- name: prereleaseFlag
value: ''
${{ if eq(variables['Build.SourceBranchName'], 'release') }}:
prereleaseFlag: ''
${{ else }}:
prereleaseFlag: '--prerelease'

stages:
- stage: Build
Expand Down
6 changes: 4 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ pr:
- main

variables:
- name: prereleaseFlag
value: ''
${{ if eq(variables['Build.SourceBranchName'], 'release') }}:
prereleaseFlag: ''
${{ else }}:
prereleaseFlag: '--prerelease'

stages:
- stage: Build
Expand Down

0 comments on commit fbe8160

Please sign in to comment.