Skip to content

Commit

Permalink
add trigger tag for release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
wilko committed Dec 15, 2020
1 parent 214721b commit dcbca87
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions azurePipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@ stages:
- script: pip install -U mypy
- script: mypy anonlink --ignore-missing-imports
displayName: mypy
- job:
displayName: "check for and tag release"
steps:
# In this step, if this build is triggered by a tag, it will add a tag 'doRelease' to the current build.
# This tag in turn is used as a trigger for the release pipeline.
- script: echo "##vso[build.addbuildtag]doRelease"
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/')

- stage: publish
displayName: Publish packages to test feed
Expand Down

0 comments on commit dcbca87

Please sign in to comment.