From b826e7353b5d716e830d152ca5e194554a768631 Mon Sep 17 00:00:00 2001 From: Myron Marston Date: Mon, 4 Aug 2025 15:06:15 -0700 Subject: [PATCH] fix: avoid load errors when running the release workflow. I just attempted to release ElasticGraph 1.0.0, and ran into load errors from the release workflow. * The initial run[^1] failed due to missing `nokogiri`. * After fixing that, the next run[^2] failed due to missing `redcarpet` and `yard-markdown`. This adds the missing dependencies to the bundle used by the release workflow. These failures are new because #708 updated the YARD build process to require some new dependencies. [^1]: https://github.com/block/elasticgraph/actions/runs/16735183812/job/47372354735 [^2]: https://github.com/block/elasticgraph/actions/runs/16735490788/job/47373323857 --- config/release/Gemfile | 3 +++ config/release/Gemfile.lock | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/config/release/Gemfile b/config/release/Gemfile index 772d853f6..a73edff71 100644 --- a/config/release/Gemfile +++ b/config/release/Gemfile @@ -9,5 +9,8 @@ source "https://rubygems.org" gem "gem-release", "~> 2.2" +gem "nokogiri", "~> 1.18", ">= 1.18.9" gem "rake", "~> 13.3" +gem "redcarpet", "~> 3.6", ">= 3.6.1" gem "yard", "~> 0.9", ">= 0.9.37" +gem "yard-markdown", "~> 0.5" diff --git a/config/release/Gemfile.lock b/config/release/Gemfile.lock index ec8bea38a..157aa3c87 100644 --- a/config/release/Gemfile.lock +++ b/config/release/Gemfile.lock @@ -1,9 +1,21 @@ GEM remote: https://rubygems.org/ specs: + csv (3.3.5) gem-release (2.2.4) + mini_portile2 (2.8.9) + nokogiri (1.18.9) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) + nokogiri (1.18.9-x86_64-linux-gnu) + racc (~> 1.4) + racc (1.8.1) rake (13.3.0) + redcarpet (3.6.1) yard (0.9.37) + yard-markdown (0.5.0) + csv + yard PLATFORMS ruby @@ -11,8 +23,11 @@ PLATFORMS DEPENDENCIES gem-release (~> 2.2) + nokogiri (~> 1.18, >= 1.18.9) rake (~> 13.3) + redcarpet (~> 3.6, >= 3.6.1) yard (~> 0.9, >= 0.9.37) + yard-markdown (~> 0.5) BUNDLED WITH 2.5.22