Created
October 13, 2021 20:55
-
-
Save litoarias/486891ab88fcfe59b70ff69a215a1b89 to your computer and use it in GitHub Desktop.
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
default_platform(:ios) | |
import "Utils/Keychain.rb" | |
import "Utils/Git.rb" | |
import "Utils/Slack.rb" | |
import "Utils/Env.rb" | |
import "Lanes/Release.rb" | |
import "Lanes/Testflight.rb" | |
platform :ios do | |
# Release | |
lane :release do | params | | |
begin | |
if !params[:bump] | |
puts "No bump type defined! Use one of: patch | minor | major".red | |
UI.user_error!("No bump type defined! Use one of: patch | minor | major".red) | |
end | |
private_release bump: params[:bump] | |
rescue => exception | |
on_error(exception) | |
end | |
end | |
# Beta | |
lane :beta do | |
private_beta | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment