Skip to content

Instantly share code, notes, and snippets.

@lihei12345
Created June 20, 2015 01:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lihei12345/3bc82ced45b267b1bc2c to your computer and use it in GitHub Desktop.
Save lihei12345/3bc82ced45b267b1bc2c to your computer and use it in GitHub Desktop.
alpha_ruby_fastlane
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