From 82152755c93e0faca3ce99c9d4d6e473bcb6e564 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Fri, 27 Dec 2019 13:45:53 -0600 Subject: [PATCH] add github release to pipeline --- azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 904dab221..4f0ab2b54 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -123,6 +123,21 @@ steps: preservePaths: 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 inputs: targetPath: '$(outputFolder)'