feat: add prerelease support to pump version (#28922)

refactor: pump script
This commit is contained in:
Jason Rasmussen 2026-06-09 14:42:10 -04:00 committed by GitHub
parent d3438cf4a7
commit 8b5385f94b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 507 additions and 256 deletions

View file

@ -10,9 +10,13 @@ on:
type: choice
options:
- 'false'
- major
- minor
- patch
- premajor
- preminor
- prepatch
- prerelease
- release
mobileBump:
description: 'Bump mobile build number'
required: false
@ -74,7 +78,7 @@ jobs:
env:
SERVER_BUMP: ${{ inputs.serverBump }}
MOBILE_BUMP: ${{ inputs.mobileBump }}
run: misc/release/pump-version.sh -s "${SERVER_BUMP}" -m "${MOBILE_BUMP}"
run: pnpm --silent release -s "${SERVER_BUMP}" -m "${MOBILE_BUMP}"
- id: output
run: echo "version=$IMMICH_VERSION" >> $GITHUB_OUTPUT