Skip to content

Instantly share code, notes, and snippets.

@litoarias
Created October 13, 2021 20:55
Show Gist options
  • Save litoarias/486891ab88fcfe59b70ff69a215a1b89 to your computer and use it in GitHub Desktop.
Save litoarias/486891ab88fcfe59b70ff69a215a1b89 to your computer and use it in GitHub Desktop.
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