Skip to content

Commit

Permalink
Update github release task as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Oct 1, 2019
1 parent 09762b2 commit 500bdd0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ stages:
archiveFile: '$(Build.ArtifactStagingDirectory)/zola-$(Build.SourceBranchName)-$(TARGET).zip'

- task: GithubRelease@0
condition: ne( variables['Agent.OS'], 'Windows_NT' )
inputs:
gitHubConnection: 'zola'
repositoryName: 'getzola/zola'
Expand All @@ -130,3 +131,16 @@ stages:
title: '$(Build.SourceBranchName)'
assetUploadMode: 'replace'
addChangeLog: true
- task: GithubRelease@0
condition: eq( variables['Agent.OS'], 'Windows_NT' )
inputs:
gitHubConnection: 'zola'
repositoryName: 'getzola/zola'
action: 'edit'
target: '$(build.sourceVersion)'
tagSource: 'manual'
tag: '$(Build.SourceBranchName)'
assets: '$(Build.ArtifactStagingDirectory)/zola-$(Build.SourceBranchName)-$(TARGET).zip'
title: '$(Build.SourceBranchName)'
assetUploadMode: 'replace'
addChangeLog: true

0 comments on commit 500bdd0

Please sign in to comment.