Created
April 6, 2017 04:55
-
-
Save conscientiousness/b09c15f90080de4c653c66cec74b406f to your computer and use it in GitHub Desktop.
This file contains 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 "Deploy a new version to the App Store" | |
lane :release do | |
# 1.Creating Certificates and Provisioning Profiles | |
cert | |
sigh(force: true) | |
# 2. | |
#ensure_git_status_clean | |
# 3.Creating the IPA file | |
ipa = gym(scheme: “xxxx”, | |
workspace: “xxxx.xcworkspace”, | |
output_directory: “./build/release”, | |
clean: true, | |
silent: true, | |
configuration: “Release”) | |
# 4. git push | |
git_commit(path: “./taogo/Info.plist”, message: "Build Version Bump") | |
push_to_git_remote( | |
remote: "origin", # optional, default: "origin" | |
local_branch: “release”, # optional, aliased by "branch", default: "master" | |
remote_branch: “release”, # optional, default is set to local_branch | |
) | |
# 5. Upload to App Store | |
#deliver( | |
#force: true, | |
#submit_for_review: false | |
#) | |
# 6. TestFlight | |
pilot( | |
team_name: "Your Team Name", | |
ipa: ipa | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment