feat: handle prereleases in publish workflows

This commit is contained in:
bo0tzz
2026-05-30 12:34:39 +02:00
parent a838167f11
commit 61bcf80946
4 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -39,4 +39,6 @@ jobs:
run: pnpm --filter @immich/sdk build
- name: Publish
run: pnpm --filter @immich/sdk publish --provenance --no-git-checks
env:
NPM_TAG: ${{ github.event.release.prerelease && 'rc' || 'latest' }}
run: pnpm --filter @immich/sdk publish --provenance --no-git-checks --tag "$NPM_TAG"