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