Skip to content

Commit

Permalink
fix: adds condition to validate version step
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <[email protected]>
  • Loading branch information
baywet committed Aug 1, 2024
1 parent 0bd2b3d commit 6a0af05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipelines/productionBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ extends:
echo "##vso[task.setvariable variable=JAVA_HOME]$(JAVA_HOME_11_X64)"
echo "##vso[task.setvariable variable=PATH]$(JAVA_HOME_11_X64)\bin;$(PATH)"
- task: PowerShell@2
condition: and(contains(variables['build.sourceBranch'], 'refs/heads/master'), succeeded())
displayName: 'Validate updated version'
inputs:
targetType: filePath
Expand Down

0 comments on commit 6a0af05

Please sign in to comment.