Skip to content

Commit

Permalink
Fix pipeline code for environment name
Browse files Browse the repository at this point in the history
  • Loading branch information
pippolino committed Apr 10, 2024
1 parent d9020a8 commit 32e14cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ variables:
- name: PublishEnvironment
${{ if startsWith( variables['Build.SourceBranch'], 'refs/tags/' ) }}:
value: 'Release'
${{ else if startsWith( variables['Build.SourceBranch'], 'refs/heads/feature/' ) }}:
${{ elseif startsWith( variables['Build.SourceBranch'], 'refs/heads/feature/' ) }}:
value: 'Development'
${{ else if startsWith( variables['Build.SourceBranch'], 'refs/heads/hotfix/' ) }}:
${{ elseif startsWith( variables['Build.SourceBranch'], 'refs/heads/hotfix/' ) }}:
value: 'Hotfix'
${{ else }}:
value: 'Development'
Expand Down

0 comments on commit 32e14cf

Please sign in to comment.