Prepare New Release #40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |