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.
This commit is contained in:
Cas Donoghue 2025-03-13 18:38:52 -07:00 committed by GitHub
parent 0d931a502a
commit 964468f922
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]