Refactor tools/update_ruby_gem_packages.rb to use package objects, the rubygems.org api, and more rubification (#11671)

* Trim -ruby versions in PackageUtils.get_clean_version

* Refactor tools/update_ruby_gem_packages.rb to use package objects, the rubygems.org api, and more rubification
This commit is contained in:
Maximilian Downey Twiss
2025-06-26 22:14:20 +10:00
committed by GitHub
parent 47ef0e98f8
commit 37e467d580
4 changed files with 57 additions and 27 deletions

View File

@@ -79,7 +79,7 @@ jobs:
env:
UPDATE_BRANCH_NAME: ${{ steps.set-variables.outputs.UPDATE_BRANCH_NAME }}
run: |
ruby tools/update_ruby_gem_packages.rb
LD_LIBRARY_PATH=/usr/local/lib ruby tools/update_ruby_gem_packages.rb
# Create a new branch with the updated package files only
# if there are updated packages. Otherwise exit early.
if [ -n "$(git status --porcelain)" ]; then