| name | release |
| description | Run security scan, tag, and create GitHub release |
| argument-hint | <version> |
| user-invocable | true |
| allowed-tools | Bash Read Write Edit Grep Glob |
Release BMT AI OS
Run the full release pipeline for version $ARGUMENTS.
Steps
- Security gate: Run
./scripts/security-report.sh $ARGUMENTS
- Verify tests:
python3 -m pytest tests/unit/ tests/smoke/ -q
- Update version: Set
$ARGUMENTS in VERSION, pyproject.toml, CHANGELOG.md
- Build Docker image:
docker build -t bemindlab/bmt-ai-os:$ARGUMENTS .
- Push Docker image:
docker push bemindlab/bmt-ai-os:$ARGUMENTS
- Create PR: Commit all version changes, create PR, merge
- Tag release:
git tag $ARGUMENTS && git push origin $ARGUMENTS
- GitHub release:
gh release create $ARGUMENTS --notes-file releases/$ARGUMENTS.md
Pre-checks
Current version: !cat VERSION
Git status: !git status --short | head -5
Last tag: !git describe --tags --abbrev=0 2>/dev/null || echo "none"