Delete old release if exists

azure-pipelines
Joseph Donofry 6 years ago
parent d39b4a0f3c
commit 9a1f2f8373
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 18
      .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:

Loading…
Cancel
Save