feat: add --skip-stapling option to macOS build scripts and workflow

This commit is contained in:
delibae 2026-03-05 20:28:20 +09:00
parent bbec59aa4b
commit f103a5199b
2 changed files with 3 additions and 3 deletions

View file

@ -165,7 +165,7 @@ jobs:
with:
projectPath: apps/desktop
tauriScript: pnpm tauri
args: --target ${{ matrix.target }} ${{ contains(matrix.label, 'macos') && steps.signing.outputs.available != 'true' && '--no-sign' || '' }}
args: --target ${{ matrix.target }} ${{ contains(matrix.label, 'macos') && steps.signing.outputs.available != 'true' && '--no-sign' || '' }} ${{ contains(matrix.label, 'macos') && '--skip-stapling' || '' }}
tagName: ${{ github.ref_name }}
releaseName: "ClaudePrism ${{ github.ref_name }}"
releaseBody: "Release is being built..."
@ -186,7 +186,7 @@ jobs:
with:
projectPath: apps/desktop
tauriScript: pnpm tauri
args: --target ${{ matrix.target }} ${{ contains(matrix.label, 'macos') && steps.signing.outputs.available != 'true' && '--no-sign' || '' }}
args: --target ${{ matrix.target }} ${{ contains(matrix.label, 'macos') && steps.signing.outputs.available != 'true' && '--no-sign' || '' }} ${{ contains(matrix.label, 'macos') && '--skip-stapling' || '' }}
- name: Upload artifacts (manual builds)
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}

View file

@ -52,6 +52,6 @@ security list-keychain -d user -s "$KEYCHAIN_PATH" $(security list-keychain -d u
echo "==> Certificate imported. Building..."
cd "$PROJECT_DIR"
pnpm tauri build --target aarch64-apple-darwin
pnpm tauri build --target aarch64-apple-darwin --skip-stapling
echo "==> Build complete!"