Skip to content

Publish only the versions RubyGems lacks - #8

Merged
TonsOfFun merged 1 commit into
mainfrom
claude/test-1-9-state-5sjzmd
Oct 7, 2026
Merged

TonsOfFun merged 1 commit into
mainfrom
claude/test-1-9-state-5sjzmd

Conversation

@TonsOfFun

Copy link
Copy Markdown
Contributor

Summary

The release workflow pushed both gems unconditionally, so any run for a version already on RubyGems failed on RubyGems' refusal to overwrite it.

That is the normal case when a release is published by Run workflow (workflow_dispatch, for an environment that cannot push tags) and its tag is pushed afterwards to create the GitHub release: the tag's run attaches the gems, then goes red.

Each gem is now pushed only when gem list --remote --exact --all does not list its version, the same check solid_agent's release workflow already makes. The core is still published before the adapter that depends on it.

This prepares the 0.3.2 release: main already carries 0.3.2 for both gems and its changelog, and RubyGems has 0.3.1.

Test plan

  • The workflow file parses as YAML
  • Dry run of the check against RubyGems: 0.3.1 of both gems reads as published and is skipped; 0.3.2 of both reads as missing and would be pushed
  • After merge: Release → Run workflow on main publishes both gems at 0.3.2

🤖 Generated with Claude Code

https://claude.ai/code/session_0124DWuS48dmwj6duguc2wmh


Generated by Claude Code

The release workflow pushed both gems unconditionally, so a run for a
version already on RubyGems failed on its refusal to overwrite. That is the
normal case when a release is published by workflow_dispatch (from an
environment that cannot push tags) and its tag is pushed afterwards to
create the GitHub release: the tag's run would attach the gems and then go
red. Each gem is now pushed only when RubyGems does not list its version,
the check solid_agent's release workflow already makes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0124DWuS48dmwj6duguc2wmh
@TonsOfFun
TonsOfFun merged commit 13d86c9 into main Oct 7, 2026
6 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