Skip to content

Commit

Permalink
Publish Release Draft on release branch builds (#925)
Browse files Browse the repository at this point in the history
* Publish release draft on relase branch builds as well as tag

* Add name-template to release-drafter.yml

* Correct push name s/release/branches/

* Wrap branch name in quotes to match GitHub docs recommendation
  • Loading branch information
oliverholworthy committed Dec 19, 2022
1 parent df716f5 commit baad623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name-template: 'v$RESOLVED_VERSION'
categories:
- title: '⚠ Breaking Changes'
labels:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: release-drafter

on:
push:
# trigger on tags only
tags:
- v*
branches:
- 'release*'

workflow_dispatch:

Expand Down

0 comments on commit baad623

Please sign in to comment.