mirror of
https://github.com/getzola/zola
synced 2024-12-13 05:42:29 +00:00
Update github release task as well
This commit is contained in:
parent
09762b23ee
commit
500bdd0c8c
1 changed files with 14 additions and 0 deletions
|
@ -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'
|
||||
|
@ -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
|
Loading…
Reference in a new issue