|
|
@@ -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 |