LoginSignup
5
5

More than 5 years have passed since last update.

CircleCI + Fastlane => Deploy

Last updated at Posted at 2016-11-02
1 / 12

@yoneapp

  • 2010年:学生iOS個人開発者
  • 2012年:スタートアップの共同創業者
  • 2015年:iOS & Railsフリーランス

最近のお仕事

  • 個人制作のニュースアプリ
  • スタートアップのお手伝い
  • などなど

スクリーンショット 2016-11-02 17.56.49.png


僕の考えた最強のデプロイの話


Fastfile.rb
fastlane_version "1.104.0"

default_platform :ios

platform :ios do
  lane :adhoc do
    sigh(force: true)
    gym(scheme: "Techinsight", configuration: "AdHoc")
    deploygate
  end

  lane :beta do
    sigh(force: true)
    gym(scheme: "Techinsight", configuration: "AdHoc")
    pilot(skip_waiting_for_build_processing: true)
  end

  lane :release do
    sigh(force: true)
    gym(scheme: "Techinsight", configuration: "Release")
    deliver(skip_screenshots: true, skip_metadata: true)
  end
end

circle.yml
machine:
  timezone: Asia/Tokyo
  xcode:
    version: '8.0'
dependencies:
  cache_directories:
    - '/Users/distiller/.cocoapods/'
deployment:
  except_master:
    branch: /^((?!master).)*$/
    commands:
      - bundle exec fastlane adhoc --verbose
  master:
    branch: master
    commands:
      - bundle exec fastlane adhoc --verbose
      - bundle exec fastlane beta  --verbos

CFBundleVersion❤Git

IMG_3899.PNG


circle.ymlとFastfileなどの設定


CircleCIの設定画面

スクリーンショット 2016-11-02 18.16.04.png


CircleCIの設定画面

スクリーンショット 2016-11-02 18.17.43.png


今後やりたいこと

  • DeployGateの配布をbranch毎に分ける
  • UDID追加の半自動化

あなたの最強のデプロイ教えてください🙇

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5