Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ on:
- minor
- major

channel:
description: 'Release channel. none = stable RTM; alpha/beta/rc cut a pre-release (e.g. major + beta -> 6.0.0-beta.1, then 6.0.0-beta.2). Finalise by re-running with the same bump and channel=none.'
required: true
default: none
type: choice
options:
- none
- alpha
- beta
- rc

sourceRef:
description: 'Optional git ref (tag/branch/SHA) to release from. Leave blank to release from this branch (normally main).'
required: false
Expand All @@ -29,6 +40,9 @@ jobs:
solutionFile: reactiveui.slnx
installWorkloads: true
bump: ${{ inputs.bump }}
# 'none' is the choice-input sentinel for a stable release (choice options
# can't be empty); the reusable workflow wants an empty channel for RTM.
preRelease: ${{ inputs.channel != 'none' && inputs.channel || '' }}
ref: ${{ inputs.sourceRef }}
secrets:
CERTUM_USER_ID: ${{ secrets.CERTUM_USER_ID }}
Expand Down Expand Up @@ -71,3 +85,4 @@ jobs:
version: ${{ needs.release.outputs.semver2 }}
tag: ${{ needs.release.outputs.tag }}
target: ${{ needs.release.outputs.sourceSha }}
prerelease: ${{ needs.release.outputs.prerelease == 'true' }}
Loading