Skip to content

Latest commit

 

History

History
132 lines (78 loc) · 2.96 KB

README.md

File metadata and controls

132 lines (78 loc) · 2.96 KB

fastlane documentation

Installation

Make sure you have the latest version of the Xcode command line tools installed:

xcode-select --install

Install fastlane using

[sudo] gem install fastlane -NV

or alternatively using brew cask install fastlane

Available Actions

ci_framework_deploy

fastlane ci_framework_deploy

Framework CI deployment lane, do something only on a master branch

Deploy to github, carthage and cocoapods

How to install ?

This lane require actions or lanes define in Digipolitan/fastlane-ios-framework

  • framework_deploy_github lane if github_repository_name != nil

  • framework_deploy_cocoapods lane if skip_cocoapods != true

import_from_git(
  url: 'https://github.com/Digipolitan/fastlane-common'
)
import_from_git(
  url: 'https://github.com/Digipolitan/fastlane-ios'
)
import_from_git(
  url: 'https://github.com/Digipolitan/fastlane-ios-framework'
)

Options

  • target_scheme: The scheme into the Xcode project to execute, the scheme is required on the CI environement

    • environment_variable: TARGET_SCHEME

    • type: string

    • optional: false on CI

  • xcodeproj: The Xcode project to select.

    • environment_variable: XCODEPROJ

    • type: string

    • optional: true

  • product_name: The framework name.

    • environment_variable: PRODUCT_NAME

    • type: string

    • optional: true

  • github_token: The GitHub access token use to push the release to GitHub, check how to generate access token here

    • environment_variable: GITHUB_TOKEN

    • type: string

    • optional: true

  • github_repository_name: The GitHub repository name such as 'company/project'

    • environment_variable: GITHUB_REPOSITORY_NAME

    • type: string

    • optional: true

  • skip_cocoapods: Skip cocoapods deployment

    • environment_variable: SKIP_COCOAPODS

    • type: boolean

    • default_value: false

  • skip_carthage: Skip carthage deployment

    • environment_variable: SKIP_CARTHAGE

    • type: boolean

    • default_value: false

  • skip_codecov: Skip the codecov.io link

    • environment_variable: SKIP_CODECOV

    • type: boolean

    • default_value: false

Environment variables

  • SLACK_URL: The Slack Hook URL

    • type: string

    • optional: true

  • COCOAPODS_TRUNK_TOKEN: The CocoaPods access token use to push the release to CocoaPods

    • type: string

    • optional: true


This README.md is auto-generated and will be re-generated every time fastlane is run. More information about fastlane can be found on fastlane.tools. The documentation of fastlane can be found on docs.fastlane.tools.