Browse Source

Update github release task as well

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
500bdd0c8c
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      azure-pipelines.yml

+ 14
- 0
azure-pipelines.yml View File

@@ -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…
Cancel
Save