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}
221
209
• 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}).
210
+
• New release version and build code: #{new_version} (#{new_build_code}).
223
211
224
212
MESSAGE
225
213
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
214
227
215
# Create the release branch
228
-
new_release_branch="release/#{new_version}"
229
216
ensure_branch_does_not_exist!(new_release_branch)
230
217
231
218
UI.message('Creating release branch...')
@@ -235,8 +222,8 @@ platform :ios do
235
222
# Bump the release version and build code and write it to the `xcconfig` file
236
223
UI.message('Bumping release version and build code...')
237
224
VERSION_FILE.write(
238
-
version_short: release_version_next,
239
-
version_long: build_code_code_freeze
225
+
version_short: new_version,
226
+
version_long: new_build_code
240
227
)
241
228
commit_version_bump
242
229
UI.success("Done! New Release Version: #{release_version_current}. New Build Code: #{build_code_current}")
@@ -1421,9 +1408,10 @@ end
1421
1408
1422
1409
# 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