Created
June 20, 2015 01:03
-
-
Save lihei12345/3bc82ced45b267b1bc2c to your computer and use it in GitHub Desktop.
alpha_ruby_fastlane
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 "Submit a new Beta Build to pgyer" | |
lane :alpha do | |
ensure_git_status_clean | |
ipa_path = "/Users/jason/Desktop/" + Time.now.strftime("%Y-%m-%d") | |
ipa_name = "XXX-alpha.ipa" | |
ipa( | |
workspace: "XXX.xcworkspace", | |
configuration: "Release", | |
scheme: "XXX", | |
# (optionals) | |
clean: true, | |
destination: ipa_path, | |
ipa: ipa_name | |
) | |
# snapshot | |
sh "ipa distribute:pgyer -f "+ ipa_path + "/" + ipa_name +" -a XXX -u XXXX" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment