Skip to content

Commit

Permalink
Separate release-drafter config per branch
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed May 20, 2024
1 parent e9ce978 commit ba61f62
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/release-drafter-3.x.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_extends: .github
name-template: '3.$MINOR.$PATCH'
tag-template: 'plexus-xml-3.$MINOR.$PATCH'
version-template: '3.$MINOR.$PATCH'
commitish: '3.x'
filter-by-commitish: true
6 changes: 6 additions & 0 deletions .github/release-drafter-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
_extends: .github
name-template: '4.$MINOR.$PATCH'
tag-template: 'plexus-xml-4.$MINOR.$PATCH'
version-template: '4.$MINOR.$PATCH'
commitish: 'master'
filter-by-commitish: true
3 changes: 0 additions & 3 deletions .github/release-drafter.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release-drafter-3x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
with:
commitish: '3.x'
config-name: 'release-drafter-3.x.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
steps:
- uses: release-drafter/release-drafter@v5
with:
commitish: 'master'
config-name: 'release-drafter-master.yml'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ba61f62

Please sign in to comment.