Skip to content

Include Gemfile.lock in release preparation commit#1819

Merged
neilvcarvalho merged 1 commit intomainfrom
nc/fix-gemfile-lock-in-release
May 4, 2026
Merged

Include Gemfile.lock in release preparation commit#1819
neilvcarvalho merged 1 commit intomainfrom
nc/fix-gemfile-lock-in-release

Conversation

@neilvcarvalho
Copy link
Copy Markdown
Member

Summary

The bundle install step in the prepare-release workflow updates Gemfile.lock to reflect the new gem version, but it wasn't being staged before the release commit. This left Gemfile.lock dirty, causing the release workflow to fail with:

There are files that need to be committed first.

This PR fixes that by adding Gemfile.lock to the git add in the "Push branch and open draft PR" step, and commits the currently stale Gemfile.lock (which still referenced 6.5.6).

bundle install updates Gemfile.lock to reflect the new gem version, but
it wasn't being staged before the release commit. This left dirty files
that caused the release workflow to fail with "There are files that need
to be committed first."

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@neilvcarvalho neilvcarvalho requested a review from vburzynski as a code owner May 4, 2026 20:11
@neilvcarvalho neilvcarvalho merged commit 5d39953 into main May 4, 2026
28 checks passed
@neilvcarvalho neilvcarvalho deleted the nc/fix-gemfile-lock-in-release branch May 4, 2026 20:13
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