|
|
|
|
@ -26,6 +26,7 @@ end
|
|
|
|
|
|
|
|
|
|
platform :ios do
|
|
|
|
|
lane :release do
|
|
|
|
|
ensure_git_status_clean
|
|
|
|
|
begin
|
|
|
|
|
bump_build
|
|
|
|
|
build_app
|
|
|
|
|
@ -53,6 +54,8 @@ platform :ios do
|
|
|
|
|
submission_information: { add_id_info_uses_idfa: false, export_compliance_uses_encryption: false }
|
|
|
|
|
)
|
|
|
|
|
clean_build_artifacts
|
|
|
|
|
|
|
|
|
|
add_git_tag(tag: 'release-' + tag_string)
|
|
|
|
|
rescue => exception
|
|
|
|
|
revert_bump_build
|
|
|
|
|
`git checkout . && git clean -df`
|
|
|
|
|
@ -86,6 +89,7 @@ platform :ios do
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
clean_build_artifacts
|
|
|
|
|
add_git_tag(tag: 'testflight-' + tag_string)
|
|
|
|
|
rescue => exception
|
|
|
|
|
revert_bump_build
|
|
|
|
|
clean_build_artifacts
|
|
|
|
|
@ -128,8 +132,6 @@ platform :ios do
|
|
|
|
|
message: 'Increase Build Number',
|
|
|
|
|
skip_git_hooks: true
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
add_git_tag(tag: tag_string)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
private_lane :tag_string do
|
|
|
|
|
|