Skip to content

ci: add release pipeline for publishing gems#690

Merged
flavorjones merged 1 commit intomainfrom
publish-pipeline
Mar 15, 2026
Merged

ci: add release pipeline for publishing gems#690
flavorjones merged 1 commit intomainfrom
publish-pipeline

Conversation

@flavorjones
Copy link
Member

@flavorjones flavorjones commented Mar 14, 2026

Summary

  • Add --release flag to bin/test-gem-build to skip timestamp version stamping
  • Extract gem build jobs (native_setup, build_source_gem, build_native_gem) from ci.yml into a reusable build-gems.yml workflow
  • Refactor ci.yml to call build-gems.yml
  • Add release.yml: workflow_dispatch with version_tag input, builds all gems (source + 11 native platforms) via build-gems.yml, pushes to RubyGems using OIDC trusted publishing

Test plan

  • CI passes on this PR (verifies the ci.yml refactor doesn't break existing behavior)
  • Configure OIDC trusted publishing on rubygems.org for the sqlite3 gem
  • Test the release workflow with a real tag via workflow_dispatch

- Add --release flag to bin/test-gem-build (skips timestamp version)
- Extract gem build jobs into reusable build-gems.yml (workflow_call)
- Refactor ci.yml to call build-gems.yml
- Add release.yml: workflow_dispatch with version_tag input, builds
  all gems via build-gems.yml, pushes to RubyGems via OIDC trusted
  publishing. Artifacts namespaced by version tag.
@flavorjones flavorjones force-pushed the publish-pipeline branch 2 times, most recently from 36af123 to a57b168 Compare March 15, 2026 14:03
flavorjones added a commit that referenced this pull request Mar 15, 2026
to be compatible with the new release pipeline being tested in #690
@flavorjones flavorjones merged commit 7aa6736 into main Mar 15, 2026
123 of 218 checks passed
@flavorjones flavorjones deleted the publish-pipeline branch March 15, 2026 14:17
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