Compare commits

...

2 Commits

Author SHA1 Message Date
Alex
fe8e24b14b Merge branch 'main' into feat/release-source-branch 2026-07-21 14:47:32 -05:00
Alex
06d81dd59a chore(workflows): allow preparing a release from a chosen branch
Add a `sourceBranch` workflow_dispatch input (default `main`) and use it
as the checkout ref in `bump_version`, so a patch can be cut from a
`release/vX.Y` branch instead of always releasing from main.
2026-07-21 14:07:09 -05:00

View File

@@ -3,6 +3,11 @@ name: Prepare new release
on:
workflow_dispatch:
inputs:
sourceBranch:
description: 'Branch to release from'
required: false
default: 'main'
type: string
releaseType:
description: 'Release type'
required: true
@@ -65,7 +70,7 @@ jobs:
with:
token: ${{ steps.token.outputs.token }}
persist-credentials: true
ref: main
ref: ${{ inputs.sourceBranch }}
- name: Setup Mise
uses: immich-app/devtools/actions/use-mise@3bca63ca3c15020293b36b51737a3ee2c773340b # use-mise-action-v3.1.0