You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
• New release branch from #{DEFAULT_BRANCH}: release/#{new_version}
208
+
• New release branch from #{DEFAULT_BRANCH}: #{new_release_branch}
209
+
221
210
• Current release version and build code: #{release_version_current} (#{build_code_current}).
222
-
• New release version and build code: #{new_version} (#{build_code_code_freeze}).
211
+
• New release version and build code: #{new_version} (#{new_build_code}).
223
212
224
213
MESSAGE
225
214
UI.user_error!("Terminating as requested. Don't forget to run the remainder of this automation manually.")unlessskip_confirm || UI.confirm('Do you want to continue?')
226
215
227
216
# Create the release branch
228
-
new_release_branch="release/#{new_version}"
229
217
ensure_branch_does_not_exist!(new_release_branch)
230
218
231
219
UI.message('Creating release branch...')
@@ -235,8 +223,8 @@ platform :ios do
235
223
# Bump the release version and build code and write it to the `xcconfig` file
236
224
UI.message('Bumping release version and build code...')
237
225
VERSION_FILE.write(
238
-
version_short: release_version_next,
239
-
version_long: build_code_code_freeze
226
+
version_short: new_version,
227
+
version_long: new_build_code
240
228
)
241
229
commit_version_bump
242
230
UI.success("Done! New Release Version: #{release_version_current}. New Build Code: #{build_code_current}")
@@ -260,7 +248,7 @@ platform :ios do
260
248
copy_branch_protection(
261
249
repository: GITHUB_REPO,
262
250
from_branch: DEFAULT_BRANCH,
263
-
to_branch: "release/#{new_version}"
251
+
to_branch: new_release_branch
264
252
)
265
253
266
254
begin
@@ -1421,9 +1409,10 @@ end
1421
1409
1422
1410
# Returns the next release version of the app in the format `1.2` or `1.2.3` if it is a hotfix
0 commit comments