Skip to content

Commit

Permalink
Delete old GitHub 'dev' release when creating a new one (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschneidereit authored Aug 6, 2019
1 parent 5fc2d82 commit 45c2805
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ jobs:
inputs:
gitHubConnection: 'tschneidereit-releases'
repositoryName: 'cranestation/wasmtime'
action: 'edit'
target: '$(Build.SourceVersion)'
tagSource: 'manual'
tag: '$(tagName)'
Expand All @@ -244,7 +243,13 @@ jobs:
inputs:
gitHubConnection: 'tschneidereit-releases'
repositoryName: 'cranestation/wasmtime'
action: 'edit'
action: 'delete'
tag: 'dev'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
- task: GitHubRelease@0
inputs:
gitHubConnection: 'tschneidereit-releases'
repositoryName: 'cranestation/wasmtime'
target: '$(Build.SourceVersion)'
tag: 'dev'
title: 'Latest CI build'
Expand Down

0 comments on commit 45c2805

Please sign in to comment.