mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Delete old release if exists
This commit is contained in:
parent
d39b4a0f3c
commit
9a1f2f8373
1 changed files with 18 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue