wordpress-workspace-release-runbook

작성자: automattic

이 저장소의 WordPress Workspace 빌드, 패키징, 서명, 공증, OAuth 시크릿 주입, 릴리스 확인 및 릴리스 문서화를 안내합니다. 다음 경우에 사용하세요…

npx skills add https://github.com/automattic/workspace --skill wordpress-workspace-release-runbook

WordPress Workspace Release Runbook

Use this skill for release, packaging, and build-operation work in this repository.

Before Acting

  • Check git status --short --branch.
  • Do not overwrite unrelated local changes.
  • Confirm whether the user wants a development build, local release package, notarized package, or published GitHub Release.
  • Do not expose OAuth secrets or paste secret values into logs, docs, or commit messages.

Development Build

  • Default command: make
  • Default output: build/WP Workspace Dev.app
  • Default bundle identifier: com.automattic.wpworkspace.dev
  • Current builds link SQLite with -lsqlite3 for the QuickLauncher/Workspace cache.
  • Use make run only when the user wants to launch the app locally.

OAuth Secret Handling

  • Info.plist contains the WordPress.com OAuth client ID.
  • The OAuth client secret is not committed.
  • Local builds can inject it with:
    • WPCOM_OAUTH_CLIENT_SECRET="$WPCOM_CLIENT_SECRET" make CODESIGN_IDENTITY=-
    • make CODESIGN_IDENTITY=- WPCOM_OAUTH_CLIENT_SECRET_FILE=.wpcom-oauth-client-secret
  • Treat the app secret as inspectable native-app credential material, not a server-grade secret.

Manual Release

  • Main script: Tools/manual-release.sh
  • Default package path: build/WPWorkspace-<version>.zip
  • The script expects a clean working tree unless --allow-dirty is explicitly chosen.
  • The script uses Info.plist for CFBundleShortVersionString and creates or reuses tag v<version> when publishing.
  • Publishing requires gh and uploads the zip to GitHub Releases.
  • Creating or publishing a release can notify users through the app updater badge, so confirm version, notes, and artifact readiness before making the release public.

CI and Notarization

  • Makefile owns direct swiftc compilation, resource copying, secret injection, code signing, zip, DMG, and notarization targets.
  • If build failures mention SQLite symbols, verify the LDFLAGS = -lsqlite3 path in Makefile is still applied to all architecture builds.
  • Tools/notarize.sh handles notarization and stapling.
  • .github/workflows/release.yml is intentionally disabled behind manual dispatch.
  • .buildkite/pipeline.yml runs build, signing, notarization, and artifact collection on the mac queue.
  • Creating the GitHub Release triggers the Buildkite production build. After the build finishes, download the artifact from Buildkite and attach it to the GitHub Release manually unless automation has been explicitly changed.

Smoke Test

  • Transcription endpoint script: Tools/wpcom-transcribe.sh
  • It requires a bearer token, site, and audio file.
  • It posts multipart audio to /wpcom/v2/sites/{site}/ai/transcription.
  • Keep this path dependency-free: shell plus curl, with --verbose, --proxy, and --envelope available for debugging.
  • Use --intent command --selected-text "..." when testing selected-text transformation.

Verification

  • For docs-only changes, do not run make unless the user asks.
  • For build changes, prefer make or the narrowest relevant target.
  • For release changes, verify scripts with shellcheck-style reading and dry-run reasoning when secrets or publishing are unavailable.

automattic의 다른 스킬

wp-phpstan
automattic
WordPress 프로젝트(플러그인/테마/사이트)에서 PHPStan 정적 분석을 설정, 실행 또는 수정할 때 사용: phpstan.neon 설정, 기준선,…
official
wp-playground
automattic
WordPress Playground 워크플로우에 사용: 브라우저 또는 @wp-playground/cli(서버, run-blueprint, build-snapshot)를 통해 로컬에서 빠르게 일회용 WP 인스턴스를 실행합니다.
official
wp-plugin-development
automattic
WordPress 플러그인 개발 시 사용: 아키텍처 및 훅, 활성화/비활성화/제거, 관리자 UI 및 설정 API, 데이터 저장, 크론/작업, 보안…
official
wp-project-triage
automattic
WordPress 저장소(플러그인/테마/블록 테마/WP 코어/Gutenberg/전체 사이트)의 도구/테스트/버전 등을 포함한 결정론적 검사가 필요할 때 사용합니다.
official
wp-rest-api
automattic
WordPress REST API 엔드포인트/라우트를 구축, 확장 또는 디버깅할 때 사용: register_rest_route, WP_REST_Controller/컨트롤러 클래스, 스키마/인수…
official
wp-wpcli-and-ops
automattic
WP-CLI(wp)를 사용하여 WordPress 작업을 수행할 때 사용: 안전한 검색-바꾸기, DB 내보내기/가져오기, 플러그인/테마/사용자/콘텐츠 관리, 크론, 캐시 플러싱 등
official
wpds
automattic
WordPress 디자인 시스템(WPDS)과 그 컴포넌트, 토큰, 패턴 등을 활용하여 UI를 구축할 때 사용합니다.
official
woocommerce-finalize
automattic
WooCommerce 플러그인을 위한 사전 릴리스 코드 건강 및 추적성 감사. 코드 리뷰 후 실행되며, 죽은 코드, 중복, 구조적 복잡성 등을 중점적으로 확인합니다…
official