diff --git a/.buildkite/new-beta-release.yml b/.buildkite/new-beta-release.yml index 4f2b8e441881..bf88ce16e3bd 100644 --- a/.buildkite/new-beta-release.yml +++ b/.buildkite/new-beta-release.yml @@ -15,3 +15,11 @@ steps: bundle exec fastlane new_beta_release skip_confirm:true agents: queue: "tumblr-metal" + +steps: + - label: "Test Git Push 👀" + plugins: [$CI_TOOLKIT] + command: | + bundle exec fastlane test_git_push + agents: + queue: "tumblr-metal" diff --git a/fastlane/lanes/release.rb b/fastlane/lanes/release.rb index d8491ed76b88..4188b46aed6e 100644 --- a/fastlane/lanes/release.rb +++ b/fastlane/lanes/release.rb @@ -121,6 +121,16 @@ create_release_management_pull_request('trunk', "Merge #{new_version} code freeze into trunk") end + lane :test_git_push do |options| + UI.message 'Bumping beta version and build code...' + VERSION_FILE.write_version( + version_name: code_freeze_beta_version, + version_code: next_build_code + ) + commit_version_bump + push_to_git_remote(tags: false) + end + ##################################################################################### # new_beta_release # -----------------------------------------------------------------------------------