From 9a1f2f8373a2cf4d37451118fa1446b5563ca883 Mon Sep 17 00:00:00 2001 From: Joseph Donofry Date: Sat, 18 May 2019 00:21:20 -0400 Subject: [PATCH] Delete old release if exists --- .ci/azure-build.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.ci/azure-build.yml b/.ci/azure-build.yml index a9af8a67..3745e463 100644 --- a/.ci/azure-build.yml +++ b/.ci/azure-build.yml @@ -23,6 +23,24 @@ steps: #cleanTargetFolder: false # Optional #overWrite: false # Optional #flattenFolders: false # Optional +- task: GitHubRelease@0 + condition: succeeded() + inputs: + gitHubConnection: nheko-reborn-pipeline + repositoryName: '$(Build.Repository.Name)' + action: 'delete' # Options: create, edit, delete + target: '$(Build.SourceVersion)' # Required when action == Create || Action == Edit + tagSource: 'manual' # Required when action == Create# Options: auto, manual + tag: $(Build.BuildNumber) # Required when action == Edit || Action == Delete || TagSource == Manual + #title: # Optional + #releaseNotesSource: 'file' # Optional. Options: file, input + #releaseNotesFile: CHANGELOG.md # Optional + #releaseNotes: # Optional + #assets: '$(Build.ArtifactStagingDirectory)/*' # Optional + #assetUploadMode: 'delete' # Optional. Options: delete, replace + #isDraft: false # Optional + #isPreRelease: true # Optional + #addChangeLog: true # Optional - task: GitHubRelease@0 condition: succeeded() inputs: