Skip to content

Commit 7e633ad

Browse files
dtomsclaude
andcommitted
feat: add af-stable branch for end-user installs
Release workflow now updates af-stable after tagging, so end users install from a branch that only moves on release. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bac9479 commit 7e633ad

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/af-tag-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ jobs:
3131
echo "Tagging ${TAG}"
3232
git tag "$TAG"
3333
git push origin "$TAG"
34+
35+
- name: Update af-stable branch
36+
run: |
37+
git push origin HEAD:refs/heads/af-stable --force

CLAUDE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ Read @FORK.md for full context on this fork.
1717

1818
## Development
1919

20-
- Install locally: `uv tool install . --force --reinstall`
20+
- Install locally (dev): `uv tool install . --force --reinstall`
21+
- Install from release: `uv tool install git+https://github.com/appfolio/spec-kit@af-stable --force`
2122
- Test: `specify-af version` then `specify-af init --here --ai claude` in a scratch directory
2223
- Binary is `specify-af`, package is `specify-af-cli`
24+
- `af-stable` branch is the end-user install target — only updated when a release is tagged
2325

2426
## Testing
2527

FORK.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@ This is AppFolio's fork of [github/spec-kit](https://github.com/github/spec-kit)
1313
| New command | `specify-af upgrade` — syncs AF extensions to bundled versions |
1414
| Version resolution | Uses `packages_distributions()` instead of hardcoded package name |
1515
| Release workflow | release-please with `af-v*` tags on `af-main` |
16+
| Install branch | `af-stable` — only updated on release, safe for end-user installs |
17+
18+
## Installing
19+
20+
End users should install from the `af-stable` branch, which only updates when a release is tagged:
21+
22+
```bash
23+
uv tool install git+https://github.com/appfolio/spec-kit@af-stable --force
24+
```
25+
26+
To upgrade to the latest release:
27+
28+
```bash
29+
uv tool install git+https://github.com/appfolio/spec-kit@af-stable --force --reinstall
30+
```
1631

1732
## Conflict-Prone Files
1833

0 commit comments

Comments
 (0)