This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-resources-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 0850468 Improve release-drafter configuration 0850468 is described below commit 08504680952b8335a8e36ca76623b4455a4cacc5 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sat Mar 15 21:52:38 2025 +0100 Improve release-drafter configuration --- .github/{release-drafter.yml => release-drafter-3.x.yml} | 5 +++-- .github/release-drafter.yml | 10 +++++++++- .github/workflows/release-drafter.yml | 2 ++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter-3.x.yml similarity index 89% copy from .github/release-drafter.yml copy to .github/release-drafter-3.x.yml index 6a6adb2..f0a47cb 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter-3.x.yml @@ -1,3 +1,5 @@ + + # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -15,5 +17,4 @@ # specific language governing permissions and limitations # under the License. -_extends: maven-gh-actions-shared -tag-template: maven-resources-plugin-$NEXT_MINOR_VERSION +_extends: maven-gh-actions-shared:.github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 6a6adb2..5c72f93 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,5 @@ + + # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information @@ -16,4 +18,10 @@ # under the License. _extends: maven-gh-actions-shared -tag-template: maven-resources-plugin-$NEXT_MINOR_VERSION + +include-pre-releases: true +prerelease: true + +header: | + > [!WARNING] + > This plugin is a Maven 4 plugin and requires Maven 4.x to run. diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 1049eaa..96eaa60 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -20,6 +20,8 @@ on: push: branches: - master + workflow_dispatch: + jobs: update_release_draft: uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4