You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(updatecli) Synchronize .ruby-version with updatecli and document version files (#8521)
* Synchronize .ruby-version with updatecli and document version files
- Add setRubyVersionFile target to updatecli/updatecli.d/ruby.yaml to track .ruby-version
- Update PR title to include .ruby-version in the automated bump
- Document .ruby-version and .node-version files in CONTRIBUTING.adoc
Fixes#8515 (PR 1)
* Fix .ruby-version matchpattern to exclude newline characters
Use '^[^\r\n]+' instead of '.*' to match only the version string
without the trailing newline, preventing duplicate lines in the file.
* Remove matchpattern/replacepattern as suggested by contributor
Following the contributor's suggestion, removed matchpattern and replacepattern
to let updatecli use its default behavior for single-line version files.
This should prevent duplicate lines issue shown in the dry run.
* Fix .ruby-version matchpattern to prevent duplicate lines
Use specific pattern to match version number only
* Remove matchpattern/replacepattern from .ruby-version target
Use updatecli default behavior for simple file replacement
0 commit comments