add github release to pipeline

This commit is contained in:
RaidMax 2019-12-27 13:45:53 -06:00
parent b251ef00c4
commit 82152755c9

View File

@ -123,6 +123,21 @@ steps:
preservePaths: false preservePaths: false
trustSSL: false trustSSL: false
- task: GitHubRelease@1
inputs:
gitHubConnection: 'IW4MAdmin'
repositoryName: 'RaidMax/IW4M-Admin'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: '$(VersionInformation.Major).$(VersionInformation.Minor)-$(buildConfiguration)$(VersionInformation.Build)r$(VersionInformation.Revision)-$(Build.BuildId)'
title: 'Version $(VersionInformation.Major).$(VersionInformation.Minor) $(buildConfiguration) $(VersionInformation.Build) Revision $(VersionInformation.Revision) Build $(Build.BuildId)'
releaseNotesFilePath: '$(Build.Repository.LocalPath)/version.txt'
assets: '$(Build.ArtifactStagingDirectory)/*.zip'
isPreRelease: true
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
- task: PublishPipelineArtifact@1 - task: PublishPipelineArtifact@1
inputs: inputs:
targetPath: '$(outputFolder)' targetPath: '$(outputFolder)'