Skip to content

Commit 71a175e

Browse files
committed
docs(release): add manual fallback steps for non-interactive runs
Include bin/checksum in gh release assets and document manual steps when release.sh interactive prompts are skipped.
1 parent d6eabbb commit 71a175e

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

.claude/skills/release/SKILL.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,35 @@ If `$ARGUMENTS` is empty, run `./release.sh` (auto-increments minor version).
6666

6767
The script handles everything interactively: version bumps, build, commit, tag, GitHub release, and docs deployment.
6868

69+
**Important:** The script uses interactive prompts (`read`) that may be skipped when run from Claude. If the script skips the commit, tag, push, or GitHub release steps, complete them manually:
70+
71+
```bash
72+
# Commit the release changes
73+
git add CHANGELOG.md bashunit install.sh package.json
74+
git commit -m "chore(release): <version>"
75+
76+
# Tag
77+
git tag -a <version> -m "<version>"
78+
79+
# Push
80+
git push origin main --tags
81+
82+
# Create GitHub release with BOTH binary and checksum as assets
83+
gh release create <version> bin/bashunit bin/checksum \
84+
--title "<version>" \
85+
--notes-file /tmp/bashunit-release-notes-<version>.md
86+
87+
# Update latest branch for docs deployment
88+
git checkout latest && git rebase <version> \
89+
&& git push origin latest --force && git checkout main
90+
```
91+
6992
### 4. Post-release
7093

7194
After the script completes, verify:
7295
```bash
7396
git log --oneline -1
74-
git tag --list | tail -1
97+
git tag --list --sort=-v:refname | head -1
7598
```
7699

77100
Report the release URL to the user.

0 commit comments

Comments
 (0)