Sha256: 884ca9c444c991b9efac4fa9f999b119212a3f1270f9ad56b607366b22a73ecb

Contents?: true

Size: 944 Bytes

Versions: 360

Compression:

Stored size: 944 Bytes

Contents

module Match
  class Setup
    def run(path)
      template = File.read("#{Match::ROOT}/lib/assets/MatchfileTemplate")

      UI.important "Please create a new, private git repository"
      UI.important "to store the certificates and profiles there"
      url = UI.input("URL of the Git Repo: ")

      template.gsub!("[[GIT_URL]]", url)
      File.write(path, template)
      UI.success "Successfully created '#{path}'. You can open the file using a code editor."

      UI.important "You can now run `fastlane match development`, `fastlane match adhoc`, `fastlane match enterprise` and `fastlane match appstore`"
      UI.message "On the first run for each environment it will create the provisioning profiles and"
      UI.message "certificates for you. From then on, it will automatically import the existing profiles."
      UI.message "For more information visit https://github.com/fastlane/fastlane/tree/master/match"
    end
  end
end

Version data entries

360 entries across 360 versions & 1 rubygems

Version Path
fastlane-2.69.0.beta.20171212010004 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171211010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171210010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171209010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171208010004 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171207010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171206010003 match/lib/match/setup.rb
fastlane-2.68.2 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171205010003 match/lib/match/setup.rb
fastlane-2.68.1 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171204010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171203010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171202010003 match/lib/match/setup.rb
fastlane-2.69.0.beta.20171201010003 match/lib/match/setup.rb
fastlane-2.68.0 match/lib/match/setup.rb
fastlane-2.68.0.beta.20171130010004 match/lib/match/setup.rb
fastlane-2.68.0.beta.20171129010003 match/lib/match/setup.rb
fastlane-2.67.0 match/lib/match/setup.rb
fastlane-2.67.0.beta.20171128010003 match/lib/match/setup.rb
fastlane-2.67.0.beta.20171127010003 match/lib/match/setup.rb