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