Skip to content

Commit ffc76f8

Browse files
Improve release-drafter configuration
1 parent 88e1c23 commit ffc76f8

File tree

3 files changed

+26
-3
lines changed

3 files changed

+26
-3
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
_extends: maven-gh-actions-shared:.github/release-drafter.yml

.github/release-drafter.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
# Licensed to the Apache Software Foundation (ASF) under one
42
# or more contributor license agreements. See the NOTICE file
53
# distributed with this work for additional information
@@ -18,4 +16,10 @@
1816
# under the License.
1917

2018
_extends: maven-gh-actions-shared
21-
tag-template: maven-jar-plugin-$NEXT_MINOR_VERSION
19+
20+
include-pre-releases: true
21+
prerelease: true
22+
23+
header: |
24+
> [!WARNING]
25+
> This plugin is a Maven 4 plugin and requires Maven 4.x to run.

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on:
2222
push:
2323
branches:
2424
- master
25+
workflow_dispatch:
2526

2627
jobs:
2728
update_release_draft:

0 commit comments

Comments
 (0)