From 964468f9229610f81c090b6ceb0fe01cfbda40cb Mon Sep 17 00:00:00 2001 From: Cas Donoghue Date: Thu, 13 Mar 2025 18:38:52 -0700 Subject: [PATCH] Require shellwords in artifact rake task (#17319) The https://github.com/elastic/logstash/pull/17310 PR changed the rake task for artifact creation to use shellwords from standard library. The acceptance tests need to explitily load that library. This commit updates the rake file to handle loading the required code. --- rakelib/artifacts.rake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rakelib/artifacts.rake b/rakelib/artifacts.rake index 12954db5d..262a7935f 100644 --- a/rakelib/artifacts.rake +++ b/rakelib/artifacts.rake @@ -15,6 +15,8 @@ # specific language governing permissions and limitations # under the License. +require 'shellwords' + namespace "artifact" do SNAPSHOT_BUILD = ENV["RELEASE"] != "1" VERSION_QUALIFIER = ENV["VERSION_QUALIFIER"].to_s.strip.empty? ? nil : ENV["VERSION_QUALIFIER"]