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 2, 2024
1 parent c1d798b commit 1c4b18d
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 1c4b18d

Please sign in to comment.