From a1021b94c18f42db04c7bc1f1a5bbff58cb51d4d Mon Sep 17 00:00:00 2001 From: Alexey Alter-Pesotskiy Date: Thu, 13 Feb 2025 11:54:08 +0000 Subject: [PATCH] test --- fastlane/Fastfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index d968705e826..2c93085c9ca 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -167,7 +167,8 @@ private_lane :install do |options| when :allurectl v = '2.16.0' output = 'allurectl' - url = "https://github.com/allure-framework/allurectl/releases/download/#{v}/allurectl_linux_amd64" + arch = RbConfig::CONFIG['host_os'].include?('darwin') ? 'darwin_amd64' : 'linux_amd64' + url = "https://github.com/allure-framework/allurectl/releases/download/#{v}/allurectl_#{arch}" else UI.user_error!('Provide a correct tool name.') end