Skip to content

feat: add release automation script#6

Merged
eliecer2000 merged 1 commit intomainfrom
feat/release-script
Mar 22, 2026
Merged

feat: add release automation script#6
eliecer2000 merged 1 commit intomainfrom
feat/release-script

Conversation

@eliecer2000
Copy link
Copy Markdown
Owner

Summary

Adds release.sh — a fully automated release script that handles the entire release cycle.

What the script does

  1. Validates semver format, clean working tree, main branch, gh CLI
  2. Creates chore/release-vX.Y.Z branch
  3. Bumps version in manifest.json, agents-registry.json, README.md badge
  4. Updates CHANGELOG.md (renames [Unreleased][X.Y.Z])
  5. Runs full test suite
  6. Commits, pushes, creates PR
  7. Waits for CI to pass
  8. Squash-merges the PR
  9. Tags vX.Y.Z on main (triggers release workflow)

Also included

  • [Unreleased] section added to CHANGELOG.md for future changes
  • Release process documented in CONTRIBUTING.md
  • Release section added to README.md

Test results

All 88 tests pass (58 catalog + 9 runtime + 5 session + 16 install).

- release.sh automates full release cycle: version bump, PR, CI wait, merge, tag
- Uses Python for safe JSON/CHANGELOG manipulation (no fragile sed)
- Validates semver, clean tree, main branch, gh CLI before starting
- Updates manifest.json, agents-registry.json, README badge, CHANGELOG
- Runs test suite before committing
- Waits for CI, squash-merges PR, tags on main
- Added [Unreleased] section to CHANGELOG.md
- Documented release process in CONTRIBUTING.md and README.md
@eliecer2000 eliecer2000 merged commit 6a4a7da into main Mar 22, 2026
9 checks passed
@eliecer2000 eliecer2000 deleted the feat/release-script branch March 22, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant