Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ jobs:
name: Validate Before Release
uses: ./.github/workflows/validate.yml

# ── Gate: VM acceptance test ───────────────────────────────────────────────
# ── Gate: VM acceptance test (stable releases only) ──────────────────────
# Pre-release tags (e.g. -beta.1, -rc.1) skip this gate β€” they are
# explicitly not fully vetted. Stable tags (1.0.0+) require a clean VM
# install before publishing. A skipped job counts as success for `needs`.
acceptance:
name: VM Acceptance
needs: validate
if: ${{ !contains(github.ref_name, '-') }}
uses: ./.github/workflows/acceptance.yml

# ── Create GitHub Release ─────────────────────────────────────────────────
Expand Down
19 changes: 15 additions & 4 deletions VERSIONING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,25 @@ git push && git push --tags

## Release Pipeline

Pushing a `v*.*.*` tag automatically triggers:
Pushing a `v*.*.*` tag automatically triggers the release pipeline. The gates differ
by version type:

**Pre-release tags** (e.g. `v0.1.0-beta.1`, `v1.0.0-rc.1`):
```
tag push β†’ validate β†’ VM acceptance test β†’ publish GitHub Release
tag push β†’ validate (lint + formula audit + integration test) β†’ publish Pre-release
```

The release is **blocked** if either gate fails. A pre-release tag (containing `-`)
publishes with the GitHub Pre-release flag and does not become the default install version.
**Stable tags** (e.g. `v1.0.0`, `v1.2.3`):
```
tag push β†’ validate β†’ VM acceptance test (clean macOS VM) β†’ publish Release
```

Pre-release versions skip the VM acceptance gate by design β€” they are explicitly
not fully vetted. The validate pipeline (shellcheck, formula audit, real macOS
integration test) still runs and must pass for all release types.

Stable releases require a full clean-room VM install to pass before publishing.
This is the guarantee that `1.0.0`+ versions work on a real machine from scratch.

---

Expand Down