Skip to content

fix: monitor 4.0 for autobumps#18

Closed
chadlwilson wants to merge 1 commit into
jdx:mainfrom
chadlwilson:patch-1
Closed

fix: monitor 4.0 for autobumps#18
chadlwilson wants to merge 1 commit into
jdx:mainfrom
chadlwilson:patch-1

Conversation

@chadlwilson
Copy link
Copy Markdown

@chadlwilson chadlwilson commented Mar 18, 2026

4.0 is seemingly not being monitored right now, so 4.0.2 does not seem to have been detected.

https://github.com/jdx/ruby/actions/runs/23244154533/job/67567990377

Additionally as mentioned at #16 the autobump workflows seem to have been broken for a week (master push restriction needs to be lifted for the automation?) and thus new patch releases aren't being built/published so some intervention is needed on the GH repo.

Latest 3.2 release: 3.2.10
Latest 3.3 release: 3.3.10
Latest 3.4 release: 3.4.9
Latest 4.0 release: 4.0.2

@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

Comment thread .github/workflows/autobump.yml
@bajorekp
Copy link
Copy Markdown

LGTM 🚀

@jdx
Copy link
Copy Markdown
Owner

jdx commented Mar 25, 2026

oops I wasn't watching this repo so missed this and created #19 before I saw it

@chadlwilson
Copy link
Copy Markdown
Author

Well, the bigger problem is still that the auto-commit of new formula is broken anyway I suppose

@chadlwilson chadlwilson deleted the patch-1 branch March 25, 2026 14:26
jdx added a commit that referenced this pull request Mar 25, 2026
## Summary
- Autobump workflow now dynamically discovers minor series from
ruby/ruby releases instead of a hardcoded `3.2 3.3 3.4` list
- New minor versions (4.1, 5.0, etc.) will be picked up automatically
without workflow changes
- Fixed tag matching to handle both old underscore format (`v3_4_2`) and
new dot format (`v4.0.2`)
- Abstract class selection falls back to base `JdxRuby` when no
version-specific class exists
- Adds Ruby 4.0.2 formula

Supersedes #18 — thanks @chadlwilson for identifying the issue!

Co-authored-by: Chad Wilson
<29788154+chadlwilson@users.noreply.github.com>

## Test plan
- [ ] Trigger autobump workflow manually via `workflow_dispatch` and
verify it discovers 3.2, 3.3, 3.4, 4.0 series
- [ ] Verify it skips versions that already have formulae
- [ ] Verify prerelease detection correctly handles dot-format tags

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Moderate risk because it changes the automation that generates and
commits new Homebrew formulae; bugs in tag parsing/series discovery
could create incorrect or missing formula updates.
> 
> **Overview**
> Updates the `autobump.yml` workflow to **auto-discover supported Ruby
minor series** from `ruby/ruby` releases (instead of a hardcoded list)
and to **match both underscore and dot tag formats** when selecting the
latest stable release.
> 
> The workflow now **falls back to the base `Abstract/jdx-ruby` class**
when a version-specific abstract (`Abstract/jdx-ruby-XX.rb`) is missing,
and prerelease detection similarly recognizes stable dot-format tags.
Adds a new formula for `jdx-ruby@4.0.2`.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
07cec48. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->

---------

Co-authored-by: Claude Opus 4.6 (1M context) <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.

3 participants