Skip to content

feat: verbose make targets, separate bump from release, tag-triggered publish#17

Merged
smorin merged 1 commit intomainfrom
feat/verbose-make-targets-and-release-improvements
Mar 18, 2026
Merged

feat: verbose make targets, separate bump from release, tag-triggered publish#17
smorin merged 1 commit intomainfrom
feat/verbose-make-targets-and-release-improvements

Conversation

@smorin
Copy link
Copy Markdown
Contributor

@smorin smorin commented Mar 18, 2026

Summary

  • Verbose make targets: Removed @ prefix from convenience targets (version, bump-patch, bump-minor, bump-major, release) so they print the underlying commands, teaching users what's happening
  • Separate bump from release: make release no longer bumps — run make bump-patch/minor/major first, then make release to sync/commit/tag
  • Tag-triggered publish: Changed CI from release:published to push:tags:v* so pushing a tag automatically publishes to PyPI
  • Auto GitHub Release: Added a release job that creates a GitHub Release with auto-generated notes after PyPI publish
  • Updated docs: RELEASE.md and README.md reflect the new streamlined workflow

Example output with verbose targets:

$ make bump-patch
uv run python scripts/bump_version.py patch
0.3.1 -> 0.3.2

$ make version
uv run python -c "from importlib.metadata import version; print(version('worktreeflow'))"
0.3.2

Test plan

  • All 159 tests pass (make test)
  • make version prints command then version
  • make bump-patch --dry-run shows uv run python scripts/bump_version.py patch
  • End-to-end: make bump-patch && make release && git push --tags triggers CI publish

… publish

- Remove @ prefix from convenience targets (version, bump-*, release)
  so commands are printed, teaching users the underlying operations
- Separate bump from release: make release no longer bumps, run
  make bump-patch/minor/major first
- Change publish workflow trigger from release:published to push:tags:v*
- Add release job to auto-create GitHub Release with generated notes
- Update RELEASE.md and README.md to reflect new workflow
@smorin smorin merged commit 36ffd9d into main Mar 18, 2026
5 checks passed
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