Created
May 20, 2015 14:03
-
-
Save SpacyRicochet/1a00b1287059bdceba4d to your computer and use it in GitHub Desktop.
Fastlane setup
This file contains hidden or 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
| app_name "Some App" | |
| for_lane "beta" do | |
| app_identifier "com.someapp.someapp-ios.adhoc" | |
| team_name "Some Company Ltd." | |
| end |
This file contains hidden or 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
| # Customise this file, documentation can be found here: | |
| # https://github.com/KrauseFx/fastlane/tree/master/docs | |
| # Change the syntax highlighting to Ruby | |
| # All lines starting with a # are ignored when running `fastlane` | |
| fastlane_version "1.2.2" | |
| desc "Release a new beta version on Hockey" | |
| desc "This action does the following:" | |
| desc "" | |
| desc "- Ensures a clean git status" | |
| desc "- Increment the build number" | |
| desc "- Get new Enterprise profile if necessary" | |
| desc "- Build and sign the app" | |
| desc "- Upload the ipa file to hockey" | |
| desc "- Commit and push the version bump" | |
| lane :beta do | |
| # Make sure we start off with a clean slate | |
| # ensure_git_status_clean | |
| # | |
| # Increment build number | |
| increment_build_number | |
| sigh | |
| # ipa( | |
| # workspace "SomeApp.xcworkspace", | |
| # ) | |
| # hockey( | |
| # api_token: 'SECRET_TOKEN', | |
| # ) | |
| # | |
| # Make sure our directory is clean, except for changes Fastlane has made | |
| # clean_build_artifacts | |
| # | |
| # Tag release and push to GitHub | |
| # commit_version_bump message: "Deploying #{app_name}." | |
| # push_to_git_remote | |
| end | |
| # You can define as many lanes as you want | |
| after_all do |lane| | |
| # slack( | |
| # message: "Successfully deployed new App Update." | |
| # ) | |
| end | |
| error do |lane, exception| | |
| # slack( | |
| # message: exception.message, | |
| # success: false | |
| # ) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment