Skip to content

chore: switch release workflow to release-please - #133

Merged
JamieSinn merged 1 commit into
mainfrom
chore/release-please
Nov 16, 2026
Merged

JamieSinn merged 1 commit into
mainfrom
chore/release-please

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • Replace DevCycleHQ/release-action and the AUTOMATION_USER_TOKEN PAT in .github/workflows/release.yml with release-please on GITHUB_TOKEN. It opens a release PR instead of pushing to main.
  • When the release PR merges, the publish job checks out the new tag and runs rubygems/release-gem from the same workflow file, so RubyGems trusted publishing keeps working.
  • Add release-please-config.json and .release-please-manifest.json (seeded at 3.9.0), and mark VERSION in lib/devcycle-ruby-server-sdk/version.rb with x-release-please-version.

Related Issues

Same setup as DevCycleHQ/android-client-sdk#339

@jonathannorris
jonathannorris marked this pull request as ready for review November 16, 2026 20:50
@jonathannorris
jonathannorris requested a review from a team as a code owner November 16, 2026 20:50
Copilot AI balanced review requested due to automatic review settings November 16, 2026 20:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Repository evidence cannot verify whether GITHUB_TOKEN-created release PRs can merge with suppressed checks or whether existing-tag publishing works with CI-selected Bundler, leaving release-critical behavior unvalidated.

No open issues 🎉

What changed in this PR

Migrates the Ruby SDK’s release automation to release-please using GITHUB_TOKEN, replacing PAT-based version commits while keeping RubyGems trusted publishing in the existing workflow.

Changes:

  • Opens release PRs instead of pushing version changes directly to main.
  • Publishes from the new release tag when release-please creates a release.
  • Adds release configuration and version tracking initialized to 3.9.0.
File Description
release-please-config.json Configures release-please and includes the Ruby version file in version updates.
lib/​devcycle-ruby-server-sdk/​version.rb Adds the release-please version marker without changing the current version.
.release-please-manifest.json Seeds release tracking at 3.9.0.
.github/​workflows/​release.yml Replaces the previous release action with release-please and tag-based RubyGems publishing.

Review effort: Balanced

@JamieSinn
JamieSinn merged commit 8ae9c94 into main Nov 16, 2026
9 checks passed
@JamieSinn
JamieSinn deleted the chore/release-please branch November 16, 2026 20:59
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