Skip to content

Commit 697a330

Browse files
author
Kenneth Nordum
committed
add condition
1 parent 74e0c0e commit 697a330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps:
2525
2626
- script: poetry version $(poetry version -s)-dev.$(Build.BuildId)
2727
displayName: "Add pre-release version"
28-
condition: eq(variables['build.sourceBranch'], 'refs/heads/develop'))
28+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))
2929

3030
- script: |
3131
poetry build

0 commit comments

Comments
 (0)