Skip to content

Commit 5379f76

Browse files
authored
Pass both keys and values in buildkite_pipeline_upload as strings (#1670)
2 parents fdefee1 + 551297b commit 5379f76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fastlane/lanes/release.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -328,15 +328,16 @@ def check_pods_references
328328
end
329329

330330
def trigger_buildkite_release_build(branch:, beta:)
331-
environment = { BETA_RELEASE: beta.to_s }
331+
environment = { BETA_RELEASE: beta }
332332
pipeline_file_name = 'release-build.yml'
333333

334334
# When in CI, upload the release build pipeline inline in the current pipeline.
335335
# Otherwise, trigger a build via the Buildkite APIs.
336336
if is_ci
337337
buildkite_pipeline_upload(
338338
pipeline_file: File.join(PROJECT_ROOT_FOLDER, '.buildkite', pipeline_file_name),
339-
environment: environment
339+
# Both keys and values need to be passed as strings
340+
environment: environment.to_h { |k, v| [k.to_s, v.to_s] }
340341
)
341342
else
342343
build_url = buildkite_trigger_build(

0 commit comments

Comments
 (0)