Skip to content

Commit

Permalink
Update Ruby version from bump-oss-version.js
Browse files Browse the repository at this point in the history
Assume the system version is the latest and desired, update all
related files to use that version.

https://circleci.com/docs/2.0/testing-ios/#using-ruby states CircleCI
will use the latest stable version (2.7 at this moment), which is
excellent.
  • Loading branch information
barbieri committed Sep 30, 2021
1 parent 861c2ac commit 79c383a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/bump-oss-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ let numberOfChangedLinesWithNewVersion = exec(
{silent: true},
).stdout.trim();

// Make sure to update ruby version
if (exec('scripts/update-ruby.sh').code) {
echo('Failed to update Ruby version');
exit(1);
}

// Release builds should commit the version bumps, and create tags.
// Nightly builds do not need to do that.
if (!nightlyBuild) {
Expand Down

0 comments on commit 79c383a

Please sign in to comment.