Created
November 13, 2014 19:34
-
-
Save KrauseFx/3e7886f0590a9db64487 to your computer and use it in GitHub Desktop.
Multiple Schemes in deliver
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
project_name = gets.chomp | |
if project_name == 'project_name1' | |
email "[email protected]" | |
# hide_transporter_output # remove the '#' in the beginning of the line, to hide the output while uploading | |
######################################## | |
# App Metadata | |
######################################## | |
# The app identifier is required | |
app_identifier "[Your App Identifier, e.g. at.felixkrause.app_name]" | |
# This folder has to include one folder for each language | |
# More information about automatic screenshot upload: | |
screenshots_path "./screenshots" | |
# version '1.2' # you can pass this if you want to verify the version number with the ipa file | |
# | |
# title({ | |
# "en-US" => "Your App Name" | |
# }) | |
# | |
# changelog({ | |
# "en-US" => "iPhone 6 (Plus) Support" | |
# }) | |
######################################## | |
# Building and Testing | |
######################################## | |
# Dynamic generation of the ipa file | |
# I'm using Shenzhen by Mattt, but you can use any build tool you want | |
# Remove the whole block if you do not want to upload an ipa file | |
ipa do | |
# system("ipa build") # build your project using Shenzhen | |
"./[[APP_NAME]].ipa --scheme your name" # Tell 'Deliver' where it can find the finished ipa file | |
end | |
# ipa "./latest.ipa" # this can be used, if you prefer manually building the ipa file | |
# unit_tests do | |
# system("xctool test") | |
# end | |
success do | |
system("say 'Successfully deployed a new version.'") | |
end | |
elsif project_name == 'other name' | |
# copy code here | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment