xworkmate-app/scripts
Haitao Pan fa161247d3
Ci/vault secrets per platform release (#45)
* chore(security): add gitleaks config allowlisting vendored/test fixtures

Suppress false positives so `gitleaks detect` is clean:
- third_party/* (cargokit ships a public binary-verification key)
- workspace_management_unit_test.dart (obfuscated "token" fixture)
- gatewayruntime/runtime_test.go (hardcoded "device-1" test key pair)

Real leaked secrets are purged from history, not allowlisted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(security): remove historical secret fixtures

* chore(release): bump build metadata for 1.1.5+2

* chore(release): bump version to 1.1.5+2

* chore(release): bump build metadata for 1.1.5+2

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>

* ci(release): add TestFlight release matrix

* chore(release): bump version to 1.1.5+2

* chore(release): bump build metadata for 1.1.5+2

* ci(release): add TestFlight release matrix

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>

* ci(release): load Vault secrets per-platform in build matrix

The build matrix loaded all 17 signing secrets in one shared block for
every platform. vault-action's ignoreNotFound only suppresses path-level
404s, not field-level "No match data" errors, so a single missing field
(e.g. APPLE_MAC_PROVISION_PROFILE_BASE64) failed every leg — including
linux/windows/android that need no Apple secrets.

Split the load into per-OS-family steps gated by matrix.platform:
- Apple (macos/ios): Apple cert + provisioning + keychain + export method
- Windows: WINDOWS_PFX_* + codesign subject
- Android: ANDROID_KEYSTORE_* + key alias/password
Linux requests nothing.

Also drop APP_STORE_CONNECT_* from the build matrix: only
testflight_upload.sh consumes them and it runs in the release job, which
loads them itself. The build matrix no longer depends on them.

Add shell: bash to the Export step (its `{ … } >> $GITHUB_ENV` brace
syntax is bash-only and would fail under the default pwsh on windows).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Haitao Pan <haitao.pan@xworkmate.ai>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
2026-06-29 15:56:26 +08:00
..
ci Ci/vault secrets per platform release (#45) 2026-06-29 15:56:26 +08:00
docs docs: add public API engineering docs 2026-04-16 13:54:33 +08:00
check-apple-export-compliance.sh chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
check-no-app-ffi.sh fix(ci): drop ripgrep dependency from check-no-app-ffi.sh 2026-06-05 19:29:39 +08:00
check-xworkmate-bridge-service.sh chore(bridge): update SSH inspection script to target xworkmate-bridge.svc.plus and Caddy config 2026-04-17 16:28:22 +08:00
codex-acp-service-common.sh feat(scripts): add codex acp native service helpers 2026-03-25 14:21:46 +08:00
codex-acp-service-linux.sh feat(scripts): add codex acp native service helpers 2026-03-25 14:21:46 +08:00
codex-acp-service-macos.sh feat(scripts): add codex acp native service helpers 2026-03-25 14:21:46 +08:00
codex-acp-service.sh feat(scripts): add codex acp native service helpers 2026-03-25 14:21:46 +08:00
create-dmg.sh fix(build): improve DMG styling stability and Finder volume discovery 2026-04-19 15:21:58 +08:00
ensure-framework-dsyms.sh chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
install-flutter-mac-dmg.sh fix(build): resolve macOS packaging and installation failures 2026-04-19 12:45:47 +08:00
install-xworkmate-app.sh feat: add one-line XWorkmate installer (#42) 2026-06-29 15:48:49 +08:00
linux-postinst.sh feat: add linux desktop parity scaffolding 2026-03-16 17:58:37 +08:00
linux-postrm.sh feat: add linux desktop parity scaffolding 2026-03-16 17:58:37 +08:00
package-android-apk.sh Add multi-platform build and release workflow 2026-03-21 10:08:12 +08:00
package-flutter-mac-app.sh fix: allow unsigned macos CI packaging 2026-06-18 17:16:13 +08:00
package-ios-ipa.sh fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
package-linux-deb.sh fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
package-linux-rpm.sh fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
package-linux.sh fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
package-macos-app-store-pkg.sh Ci/vault secrets per platform release (#45) 2026-06-29 15:56:26 +08:00
package-windows-msi.ps1 fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
validate-macos-app-bundle.sh fix: support macos validation on bash 3 2026-06-18 17:27:05 +08:00