Skip to content

Instantly share code, notes, and snippets.

View monday8am's full-sized avatar
🙃
meehh

Angel Anton monday8am

🙃
meehh
View GitHub Profile
export FABRIC_API_TOKEN=1111
export FABRIC_BUILD_SECRET=x1x1x1x1x1
export GITHUB_TOKEN=11xx1x1x1x1
desc "Deploy a new version to the Fabric."
lane :fabric do
# upload to Beta by Crashlytics
crashlytics(
api_token: ENV['FABRIC_API_TOKEN'],
build_secret: ENV['FABRIC_BUILD_SECRET']
)
end
# run fastlane
# pass 'patch', 'minor' or 'major' as parameter
fastlane ios beta bump:patch
@monday8am
monday8am / fastlane_beta.ruby
Last active November 21, 2019 03:08
Fastlane Beta
desc ""
lane :beta do |lane|
# ensure you are in master branch
ensure_git_branch
# ensure that master branch is clean
ensure_git_status_clean
# check the semantic parameter entered
@monday8am
monday8am / sample_json.json
Created October 3, 2017 19:30
Sample JSON
{
"title": {
"en": "English",
"es": "Spanish"
},
"description": "Description"
}