-
Notifications
You must be signed in to change notification settings - Fork 20
34 lines (30 loc) · 1.08 KB
/
pre-release-workflow.yml
File metadata and controls
34 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Prepare New Release
on:
workflow_dispatch:
inputs:
rc_version:
description: 'Version to release. Specify <major.minor.patch> e.g. 7.1.2. A new branch called "release/<version>" will be created where the release-specific changes will be committed.'
required: true
next_version:
description: 'Next version. Specify <major.minor.patch>, e.g. 7.2.0 (Do NOT include -SNAPSHOT, will be added automatically)'
required: true
jobs:
create-release-branch:
name: Create Release Branch
uses: ./.github/workflows/create-release-branch.yml
secrets: inherit
with:
rc_version: ${{ inputs.rc_version }}
bump-snapshot-version:
name: Bump Snapshot Version
uses: ./.github/workflows/bump-snapshot-version.yml
secrets: inherit
with:
next_version: ${{ inputs.next_version }}
upload-artifacts-to-sonatype:
name: Upload RC artifacts to Sonatype
needs: create-release-branch
uses: ./.github/workflows/upload-artifacts-to-sonatype.yml
secrets: inherit
with:
rc_version: ${{ inputs.rc_version }}