File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -328,15 +328,16 @@ def check_pods_references
328
328
end
329
329
330
330
def trigger_buildkite_release_build ( branch :, beta :)
331
- environment = { BETA_RELEASE : beta . to_s }
331
+ environment = { BETA_RELEASE : beta }
332
332
pipeline_file_name = 'release-build.yml'
333
333
334
334
# When in CI, upload the release build pipeline inline in the current pipeline.
335
335
# Otherwise, trigger a build via the Buildkite APIs.
336
336
if is_ci
337
337
buildkite_pipeline_upload (
338
338
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 ] }
340
341
)
341
342
else
342
343
build_url = buildkite_trigger_build (
You can’t perform that action at this time.
0 commit comments