Skip to content

Add guarded basectl release publish#552

Merged
codeforester merged 1 commit into
masterfrom
feature/543-20260610-release-publish
Jun 10, 2026
Merged

Add guarded basectl release publish#552
codeforester merged 1 commit into
masterfrom
feature/543-20260610-release-publish

Conversation

@codeforester

Copy link
Copy Markdown
Owner

Summary

  • Add guarded basectl release publish support for creating annotated tags, pushing release tags, and creating GitHub Releases from changelog sections.
  • Reuse release readiness checks and block publish when the worktree, tags, GitHub CLI auth, changelog, or existing GitHub Release state is unsafe.
  • Expand Homebrew handoff output with tap, formula, archive, checksum, validation, and upgrade smoke commands while keeping tap mutation manual.

Validation

  • BASE_HOME="$PWD" PYTHONPATH="$PWD/lib/python:$PWD/cli/python" /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest cli/python/base_release/tests/test_engine.py -q
  • PYTHONPATH=lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pylint --rcfile=.pylintrc cli/python/base_release/engine.py cli/python/base_release/tests/test_engine.py
  • BASE_HOME="$PWD" bats cli/bash/commands/basectl/tests/release.bats cli/bash/commands/basectl/tests/help.bats cli/bash/commands/basectl/tests/completions.bats
  • Temp-project dry-run smoke with stubbed gh
  • git diff --check
  • env -u BASE_HOME ./bin/base-test

Demo Impact

  • basectl release publish --version <version> --dry-run now shows the GitHub publish plan and Homebrew handoff without creating artifacts.
  • basectl release publish --version <version> --yes can create the annotated tag, push it, and publish the GitHub Release after all readiness checks pass.

Closes #543
Closes #544
Closes #540

@codeforester codeforester merged commit 29e7221 into master Jun 10, 2026
16 checks passed
@codeforester codeforester deleted the feature/543-20260610-release-publish branch June 10, 2026 00:43
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.

Add Homebrew tap handoff reporting to basectl release Implement guarded basectl release publish for GitHub releases Track basectl release assistant

1 participant