Skip to content

Commit eb11b7a

Browse files
committed
fixed release-finish workflow
1 parent 9c7257f commit eb11b7a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release-finish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@ on:
1717
- minor
1818
- patch
1919
next_version:
20-
description: 'Or specify exact next version for master (e.g., 2.1.0-SNAPSHOT)'
20+
description: 'Or specify exact next version for base branch (e.g., 2.1.0-SNAPSHOT)'
2121
required: false
2222
type: string
23+
base_branch:
24+
description: 'Base branch to merge release back into'
25+
required: false
26+
type: string
27+
default: 'master'
2328

2429
jobs:
2530
release-finish:
@@ -28,7 +33,7 @@ jobs:
2833
release_branch: ${{ inputs.release_branch }}
2934
next_version_increment: ${{ inputs.next_version_increment }}
3035
next_version: ${{ inputs.next_version }}
31-
base_branch: master
36+
base_branch: ${{ inputs.base_branch || 'master' }}
3237
runner: ubuntu-24.04
3338
java_version: 11
3439
java_distribution: liberica

0 commit comments

Comments
 (0)