Skip to content

Instantly share code, notes, and snippets.

@rodydavis
Created May 18, 2018 12:24
Show Gist options
  • Save rodydavis/6dcdaaa691c49f2d6d40fcfffbf2962c to your computer and use it in GitHub Desktop.
Save rodydavis/6dcdaaa691c49f2d6d40fcfffbf2962c to your computer and use it in GitHub Desktop.
Automator Fastlane Scripts
//Beta
on run {input, parameters}
tell application "Terminal"
activate
do script "cd <YOUR PROJECT PATH>/android && fastlane beta && cd <YOUR PROJECT PATH>/ios && fastlane beta"
end tell
tell application "System Events"
try
set visible of application process "Terminal" to false
end try
end tell
end run
//Release
on run {input, parameters}
tell application "Terminal"
activate
do script "cd <YOUR PROJECT PATH>/android && fastlane deploy && cd <YOUR PROJECT PATH>/ios && fastlane release"
end tell
tell application "System Events"
try
set visible of application process "Terminal" to false
end try
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment