Created
May 18, 2018 12:24
-
-
Save rodydavis/6dcdaaa691c49f2d6d40fcfffbf2962c to your computer and use it in GitHub Desktop.
Automator Fastlane Scripts
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
//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