Skip to content

Commit

Permalink
Merge pull request #980 from YakDriver/fix-azurepipelines
Browse files Browse the repository at this point in the history
Fix condition so release jobs trigger on tags
  • Loading branch information
YakDriver authored Sep 24, 2019
2 parents 7a3a186 + 0183bcf commit 65f46cc
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 @@ -129,7 +129,7 @@ jobs:
sourceFolder: $(deployStage)\standalone\dist\
- task: S3Upload@1
displayName: upload standalone binaries to s3 (release)
condition: eq(variables['build.sourceBranch'], 'refs/tags/*')
condition: startsWith(variables['build.sourceBranch'], 'refs/tags/')
inputs:
awsCredentials: dev-lab
targetFolder: $(keyPrefix)
Expand All @@ -145,4 +145,4 @@ jobs:
python -m pip install -r $(deployStage)\$(deployArtifactName)\deploy.txt
satsuki
displayName: deploy to github with satsuki
condition: eq(variables['build.sourceBranch'], 'refs/tags/*')
condition: startsWith(variables['build.sourceBranch'], 'refs/tags/')

0 comments on commit 65f46cc

Please sign in to comment.