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:
@@ -1,6 +1,29 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
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
|
# Colors for output
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
|
|||||||
Reference in New Issue
Block a user