Skip to content

[GH-7554] Automate Rubyzen releases#33

Merged
Stelios Frantzeskakis (steliosfran) merged 2 commits into
mainfrom
7554-automate-rubyzen-releases
Jun 5, 2026
Merged

[GH-7554] Automate Rubyzen releases#33
Stelios Frantzeskakis (steliosfran) merged 2 commits into
mainfrom
7554-automate-rubyzen-releases

Conversation

@steliosfran

Copy link
Copy Markdown
Collaborator

What changed and why

Checklist

  • Tests are added or updated for the changes
  • YARD docs are added or updated for the changes
  • bundle exec rake passes locally (runs both the RSpec and Minitest suites)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an automated release pipeline for Rubyzen that publishes the rubyzen-lint gem to RubyGems when a GitHub Release is published, using RubyGems Trusted Publishing (OIDC) and a version/tag consistency check.

Changes:

  • Introduces a Release GitHub Actions workflow that checks out the release tag, runs the full test suite, verifies the version, and pushes the gem to RubyGems.
  • Adds a release verification script to ensure lib/rubyzen/version.rb matches the GitHub Release tag before publishing.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/release.yml New workflow to build/test/verify and publish the gem on GitHub Release publish events.
.github/scripts/verify_release_version.rb New script to validate that the gem version matches the GitHub Release tag before publishing.

Comment thread .github/workflows/release.yml
Comment thread .github/scripts/verify_release_version.rb
Comment thread .github/scripts/verify_release_version.rb Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@steliosfran Stelios Frantzeskakis (steliosfran) merged commit da00d4d into main Jun 5, 2026
4 checks passed
@steliosfran Stelios Frantzeskakis (steliosfran) deleted the 7554-automate-rubyzen-releases branch June 5, 2026 22:52
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