Created
March 19, 2019 03:41
-
-
Save xotahal/304647df70b6836810b399308ee546a4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Build a new version of iOS App" | |
lane :build do |options| | |
next_version = lane_context[SharedValues::RELEASE_NEXT_VERSION] | |
# pod install | |
cocoapods(podfile: 'ios') | |
# pod install & yarn just | |
# check that .lock files were not changed | |
ensure_git_status_clean | |
# code signing | |
match(type: "appstore") | |
# Increment major version in XCode project | |
increment_version_number(version_number: next_version) | |
# Increment build number | |
increment_build_number_in_plist(build_number: build_number) | |
# Build app | |
gym(scheme: options[:scheme]) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment