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-jar-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new ffc76f8 Improve release-drafter configuration
ffc76f8 is described below
commit ffc76f8e51c92f2aa67ce2f25fae9e41d83ea16b
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sun Mar 23 23:26:35 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 | 1 +
3 files changed, 9 insertions(+), 7 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 4d504af..7438f11 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter-3.x.yml
@@ -1,5 +1,3 @@
-
-
# 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
@@ -17,5 +15,4 @@
# specific language governing permissions and limitations
# under the License.
-_extends: maven-gh-actions-shared
-tag-template: maven-jar-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 4d504af..6d3b73c 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -1,5 +1,3 @@
-
-
# 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
@@ -18,4 +16,10 @@
# under the License.
_extends: maven-gh-actions-shared
-tag-template: maven-jar-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 5205f96..83008b1 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/release-drafter.yml
@@ -22,6 +22,7 @@ on:
push:
branches:
- master
+ workflow_dispatch:
jobs:
update_release_draft: