docs(scripts): add molecule workflow note to bump-version.sh

Document that version bumps should be done via molecule bonding for
guided, resumable releases. The bd-6s61 template creates child beads
for each release step.

Until bd mol bond is implemented (bd-usro), use bd template instantiate.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-20 18:30:36 -08:00
parent d256d45d4b
commit 1f3b43853d

View File

@@ -1,6 +1,29 @@
#!/bin/bash
set -e
# =============================================================================
# MOLECULE WORKFLOW (Recommended)
# =============================================================================
#
# This script handles the mechanical version updates, but the full release
# workflow is captured as a molecule. For guided, resumable releases:
#
# bd template instantiate bd-6s61 --var version=X.Y.Z --assignee <identity>
#
# This creates child beads for each release step. The molecule survives
# session restarts - any agent can pick up where another left off.
#
# The molecule (bd-6s61 "Version Bump: {{version}}") includes:
# 1. Update CHANGELOG.md and info.go
# 2. Run this script (bump-version.sh)
# 3. Run tests and linting
# 4. Commit, tag, push
# 5. Update Homebrew formula
# 6. Verify installation
#
# Until bd mol bond is implemented (bd-usro), use bd molecule instantiate.
# =============================================================================
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'