Delete old release if exists

This commit is contained in:
Joseph Donofry 2019-05-18 00:21:20 -04:00
parent d39b4a0f3c
commit 9a1f2f8373
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -23,6 +23,24 @@ steps:
#cleanTargetFolder: false # Optional #cleanTargetFolder: false # Optional
#overWrite: false # Optional #overWrite: false # Optional
#flattenFolders: 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 - task: GitHubRelease@0
condition: succeeded() condition: succeeded()
inputs: inputs: