Skip to content

Commit

Permalink
Mark RCs as pre-release in GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
superseb committed Jul 13, 2018
1 parent c2a7a67 commit 9c21730
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ pipeline:
branch: master
event: tag

github_binary_prerelease:
image: plugins/github-release
prerelease: true
files:
- bin/rancher-*
checksum:
- sha256
secrets: [github_token]
when:
branch: master
event: tag
ref:
include: [ refs/tags/*rc* ]

github_binary_release:
image: plugins/github-release
files:
Expand All @@ -78,3 +92,5 @@ pipeline:
when:
branch: master
event: tag
ref:
exclude: [ refs/tags/*rc* ]

0 comments on commit 9c21730

Please sign in to comment.