Skip to main content

release

Ship a BetterCmdTab release end to end. Use when the user wants a new version or beta published on GitHub.

소스 정보

저장소
rokartur/BetterCmdTab
최근 소스 활동
2026년 10월 7일 16:28
감지된 SKILL.md 언어
영어
스타
793
포크
37

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
release
description
Ship a BetterCmdTab release end to end. Use when the user wants a new version or beta published on GitHub.
# Release runbook One command does the heavy lifting; this skill is the order of operations and the failure points around it. ## 1. Preflight Working tree clean on `main`, and the unit suite green: ```bash xcodebuild -scheme "BetterCmdTab Debug" -destination 'platform=macOS' test ``` `scripts/set_version.sh --show` prints the current version. `MAJOR` tracks the macOS year; tags are bare (`26.4.3`, `26.0-beta.1` — no `v` prefix on new tags). ## 2. Bump the version (stable releases) ```bash scripts/set_version.sh <version> # sets MARKETING_VERSION and auto-commits "chore: bump …" ``` Skip for betas — `build_release.sh --beta` derives the next `beta.N` from existing GitHub tags itself. ## 3. Write the notes Produce the release body with the `release-changelog` skill and save it to a file (e.g. `notes.md` in the scratchpad). The body **is** the GitHub Release description; its headings are parsed by `build_release.sh`, so the canonical structure from that skill is mandatory. ## 4. Build, sign, notarize, publish `--notes` takes the notes **text**, not a path — pass the file through `cat` or the literal filename becomes the release body: ```bash scripts/build_release.sh --auto-release --notes "$(cat notes.md)" # stable scripts/build_release.sh --beta --auto-release --notes "$(cat notes.md)" # beta (published as prerelease) ``` Step 0 is `scripts/release_quality_gate.sh`: a Release-configuration compile that fails on high-risk concurrency/Sendable warnings, plus (stable only) the localization audit — fix the reported issue, don't bypass the gate; it exists so a known-bad build never burns an archive + notarization slot. Signing needs the `Developer ID Application: Artur Rok (N529W98U62)` certificate and the `BetterCmdTabNotarization` notarytool profile. Without them use `--skip-notarization` (dev build only — it refuses `--auto-release`). Artifacts land in `build/release/`. Each build stamps a fresh `CURRENT_PROJECT_VERSION` (app target only); `--skip-build-bump` disables that. ## 5. If publishing manually When not using `--auto-release`: ```bash gh release create <tag> -R rokartur/BetterCmdTab \ --title "BetterCmdTab <version>" --notes-file notes.md # add --prerelease for betas ``` ## 6. After publishing: Homebrew takes care of itself Publishing fires `.github/workflows/sign-release.yml`, which attaches the BetterUpdater manifest the in-app updater verifies. Homebrew's BrewTestBot bumps both casks (`bettercmdtab`, `bettercmdtab@beta`) from their `livecheck` blocks, which read the version out of the DMG asset filename, not the tag, so the asset keeps the name `build_release.sh` gives it. Cask fixes land as template fixes in the upstream tap; a cask workflow in this repo would race BrewTestBot and need push rights on a third-party repository. **Complete when:** the GitHub release exists with the notarized artifacts attached and the notes match the release-changelog format.
GitHub에서 보기