Skip to content

Commit

Permalink
Add condition
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Jan 26, 2020
1 parent 468d84b commit a6798ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure/azure-linux-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
tarCompression: gz
archiveFile: $(Build.ArtifactStagingDirectory)/tldr-linux-$(TAG).tar.gz
verbose: true
condition: startsWith(variables['TAG'], 'v')
condition: and(startsWith(variables['TAG'], 'v'), eq("$BUILD", 'stack'))
- task: GithubRelease@0
displayName: Create GitHub Release
inputs:
Expand All @@ -113,4 +113,4 @@ jobs:
assetUploadMode: replace
action: edit
tag: $(TAG)
condition: startsWith(variables['TAG'], 'v')
condition: and(startsWith(variables['TAG'], 'v'), eq("$BUILD", 'stack'))

0 comments on commit a6798ac

Please sign in to comment.