Skip to content

Commit ba61f62

Browse files
Separate release-drafter config per branch
1 parent e9ce978 commit ba61f62

5 files changed

+14
-5
lines changed

.github/release-drafter-3.x.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: .github
2+
name-template: '3.$MINOR.$PATCH'
3+
tag-template: 'plexus-xml-3.$MINOR.$PATCH'
4+
version-template: '3.$MINOR.$PATCH'
5+
commitish: '3.x'
6+
filter-by-commitish: true

.github/release-drafter-master.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_extends: .github
2+
name-template: '4.$MINOR.$PATCH'
3+
tag-template: 'plexus-xml-4.$MINOR.$PATCH'
4+
version-template: '4.$MINOR.$PATCH'
5+
commitish: 'master'
6+
filter-by-commitish: true

.github/release-drafter.yml

-3
This file was deleted.

.github/workflows/release-drafter-3x.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
steps:
1010
- uses: release-drafter/release-drafter@v5
1111
with:
12-
commitish: '3.x'
12+
config-name: 'release-drafter-3.x.yml'
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-drafter-master.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
steps:
1010
- uses: release-drafter/release-drafter@v5
1111
with:
12-
commitish: 'master'
12+
config-name: 'release-drafter-master.yml'
1313
env:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)