Skip to content

Conversation

@nsheaps
Copy link
Owner

@nsheaps nsheaps commented Jan 21, 2026

Summary

  • Create Formula/git-wt.rb.gotmpl template file to separate the formula definition from CI workflow logic
  • Update release workflow to use sed substitution for template variables ({{.Tag}}, {{.SHA256}})
  • Add .rubocop.yml for formula linting consistency (matches homebrew-devsetup config)

Test plan

  • Verify the release workflow still works by triggering a release
  • Confirm the formula template generates valid Ruby code

🤖 Generated with Claude Code

nsheaps and others added 3 commits January 21, 2026 12:35
- Create Formula/git-wt.rb.gotmpl template
- Update release workflow to use sed substitution
- Add .rubocop.yml for formula linting consistency

This makes formula maintenance easier by separating the template from
the CI workflow logic.

Co-Authored-By: Claude Code (User Settings, in: ${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com>
The --version test was failing because git describe returns a commit
hash when tags aren't fetched. Adding fetch-depth: 0 ensures tags are
available for proper version string generation.

Co-Authored-By: Claude Code (User Settings, in: ${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com>
@nsheaps nsheaps merged commit 2298fbc into main Jan 21, 2026
2 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.

2 participants