This repository was archived by the owner on Aug 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ install_gems
66echo " --- :closed_lock_with_key: Installing Secrets"
77bundle exec fastlane run configure_apply
88
9- echo " --- :hammer_and_wrench: Building"
9+ echo " --- :hammer_and_wrench: Building and Uploading to Play Store "
1010bundle exec fastlane build_and_upload_to_play_store
Original file line number Diff line number Diff line change @@ -122,32 +122,33 @@ platform :android do
122122 require_env_vars! ( 'BUILDKITE_TOKEN' )
123123 ensure_git_status_clean
124124
125- Fastlane ::Helper ::GitHelper . checkout_and_pull ( DEFAULT_BRANCH )
126-
127125 UI . important <<~PROMPT
128126 Initiating a new alpha release.
129127 This will:
128+ - Checkout and pull the #{ DEFAULT_BRANCH } branch (if running in CI)
130129 - Bump the build code from #{ build_code_current } to #{ build_code_next }
131130 - Trigger a new alpha build in Buildkite
132131 PROMPT
133132 next unless skip_confirm || UI . confirm ( 'Continue?' )
134133
134+ Fastlane ::Helper ::GitHelper . checkout_and_pull ( DEFAULT_BRANCH ) if is_ci?
135+
135136 bump_build_code
136137
137138 push_to_git_remote
138139
139- trigger_alpha_build
140+ trigger_release_build
140141 end
141142
142143 # Trigger a new alpha build on CI
143144 #
144- lane :trigger_alpha_build do
145+ lane :trigger_release_build do
145146 require_env_vars! ( 'BUILDKITE_TOKEN' )
146147
147148 trigger_buildkite_build (
148- branch : DEFAULT_BRANCH ,
149+ branch : git_branch ,
149150 pipeline : 'release-builds.yml' ,
150- message : "Alpha Build (#{ build_code_current } )"
151+ message : "Release Build (#{ build_code_current } )"
151152 )
152153 end
153154
You can’t perform that action at this time.
0 commit comments