File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ common_params:
15
15
steps :
16
16
17
17
- label : " 🛠 WordPress Release Build (App Store Connect)"
18
- command : " .buildkite/commands/release-build-wordpress.sh"
18
+ command : " .buildkite/commands/release-build-wordpress.sh $BETA_RELEASE "
19
19
env : *common_env
20
20
plugins : *common_plugins
21
21
notify :
Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ platform :ios do
776
776
#
777
777
#####################################################################################
778
778
lane :trigger_beta_build do |options |
779
- trigger_buildkite_release_build ( branch : options [ :branch_to_build ] )
779
+ trigger_buildkite_release_build ( branch : options [ :branch_to_build ] , beta : true )
780
780
end
781
781
782
782
#####################################################################################
@@ -789,7 +789,7 @@ platform :ios do
789
789
#
790
790
#####################################################################################
791
791
lane :trigger_release_build do |options |
792
- trigger_buildkite_release_build ( branch : options [ :branch_to_build ] )
792
+ trigger_buildkite_release_build ( branch : options [ :branch_to_build ] , beta : false )
793
793
end
794
794
795
795
########################################################################
@@ -968,11 +968,12 @@ def generate_installable_build_number
968
968
end
969
969
end
970
970
971
- def trigger_buildkite_release_build ( branch :)
971
+ def trigger_buildkite_release_build ( branch :, beta : )
972
972
buildkite_trigger_build (
973
973
buildkite_organization : 'automattic' ,
974
974
buildkite_pipeline : 'wordpress-ios' ,
975
975
branch : branch ,
976
+ environment : { BETA_RELEASE : beta } ,
976
977
pipeline_file : 'release-builds.yml'
977
978
)
978
979
end
You can’t perform that action at this time.
0 commit comments