Skip to content

Commit 7a9350f

Browse files
authored
Use release drafter v7 (jenkinsci#198)
Explicitly load release drafter base config from GitHub Release drafter v7 no longer accepts .github as a valid extension. The release drafter documentation (https://github.com/release-drafter/release-drafter/blob/master/docs/configuration-loading.md#fetching-from-a-repo-named-github) says The github: prefix is used internally to recognize you want to explicitly fetch from a remote (using octokit) instead of loading a file on the runtime's filesystem.
1 parent 9fcbac0 commit 7a9350f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# see https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc
2-
_extends: .github
2+
_extends: github:jenkinsci/.github:/.github/release-drafter.yml
33
version-template: $MAJOR.$MINOR.$PATCH
44
name-template: $NEXT_PATCH_VERSION
55
tag-template: plot-$NEXT_PATCH_VERSION

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
# Drafts your next Release notes as Pull Requests are merged into "master"
14-
- uses: release-drafter/release-drafter@v6
14+
- uses: release-drafter/release-drafter@v7
1515
with:
1616
publish: ${{ contains(github.event.head_commit.message, '[maven-release-plugin] prepare release') }}
1717
env:

0 commit comments

Comments
 (0)