Skip to content

fix: sync man page versions with release workflow#115

Merged
avihut merged 1 commit intomasterfrom
fix/man-page-version-sync
Jan 28, 2026
Merged

fix: sync man page versions with release workflow#115
avihut merged 1 commit intomasterfrom
fix/man-page-version-sync

Conversation

@avihut
Copy link
Owner

@avihut avihut commented Jan 28, 2026

Summary

  • Update man pages to show v1.0.14 (matching Cargo.toml)
  • Add step in release-plz workflow to auto-regenerate man pages when creating release PRs

Problem

After installing daft v1.0.14 via Homebrew, man git-worktree-clone showed version 1.0.13. This happened because:

  1. PR fix: install man pages before pkgshare.install in Homebrew formula #113 was created with Cargo.toml at v1.0.13
  2. release-plz created PR chore: release v1.0.14 #114 that bumped version to v1.0.14
  3. But release-plz only updates Cargo.toml and CHANGELOG - not man pages
  4. So v1.0.14 was released with man pages showing v1.0.13

Solution

  1. Immediate fix: Regenerate man pages to show v1.0.14
  2. Prevent future issues: Add a step in the release-plz workflow that automatically regenerates man pages after creating/updating a release PR

The new workflow step:

  • Runs after release-plz creates a PR
  • Checks out the release PR branch
  • Regenerates man pages with the new version
  • Commits and pushes the updated man pages

Test plan

  • CI passes (verifies man pages are valid)
  • After merge, verify next release PR includes regenerated man pages
  • After next release, verify installed man pages show correct version

🤖 Generated with Claude Code

- Update man pages to show v1.0.14 (matching Cargo.toml)
- Add step in release-plz workflow to auto-regenerate man pages
  when creating release PRs, preventing future version mismatches

The release-plz workflow now automatically regenerates man pages
after bumping the version in Cargo.toml, ensuring man page versions
always match the released binary version.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@avihut avihut merged commit 4a2fe85 into master Jan 28, 2026
5 checks passed
@avihut avihut deleted the fix/man-page-version-sync branch January 28, 2026 23:31
avihut added a commit that referenced this pull request Feb 21, 2026
Use the default GITHUB_TOKEN instead of the GitHub App token for the
man page commit push. Pushes via the default token do not trigger
subsequent workflow runs, eliminating the duplicate test run that
has occurred on every release PR since #115.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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