Skip to content

Instantly share code, notes, and snippets.

View FranzBusch's full-sized avatar

Franz Busch FranzBusch

View GitHub Profile
@FranzBusch
FranzBusch / Fastfile
Last active April 29, 2017 19:59
Fastfile for automatic pod release
fastlane_version "2.28.4"
default_platform :ios
platform :ios do
before_all do
ensure_git_status_clean
xcversion version: "~> 8.3"
end
@FranzBusch
FranzBusch / travis.yml
Last active April 29, 2017 20:02
Travis for automatic pod release
language: objective-c
osx_image: xcode8.3
branches:
only:
- master
- /[0-9]+\.[0-9]+\.[0-9]+/
install:
- gem install fastlane --no-ri --no-doc --no-document
- gem install cocoapods --no-ri --no-doc --no-document
script:
@FranzBusch
FranzBusch / release.sh
Created April 30, 2017 12:01
Script for automatic pod release
#!/bin/sh
pod trunk push
@FranzBusch
FranzBusch / travis.sh
Created April 30, 2017 12:03
Script for tests and pod lint
#!/bin/sh
fastlane ios tests
pod lib lint --quick
@FranzBusch
FranzBusch / Appfile
Last active January 17, 2018 13:55
Sixt CI Appfile
team_id "XXX"
apple_id "XXX"
itunes_connect_id "XXX"
itc_team_name "XXX"
itc_team_id "XXX"
for_lane :alpha do
app_identifier "com.sixt.MediumTest-alpha"
end
@FranzBusch
FranzBusch / Matchfile
Created January 17, 2018 09:54
Sixt CI Matchfile
git_url "https://github.com/XXX/ios-certificates"
username "XXX"
@FranzBusch
FranzBusch / Fastfile
Last active July 21, 2020 17:29
Sixt CI Certificates lane
####### Certificates #######
desc "Installs the certificates and profiles locally"
lane :certificates do |options|
if options[:use_temporary_keychain]
create_temporary_keychain
end
readonly = (options[:refresh_certificates] ? false : true)
force_for_new_devices = !readonly
@FranzBusch
FranzBusch / Gemfile
Created January 17, 2018 10:23
Sixt CI Gemfile
source "https://rubygems.org"
gem "fastlane"
@FranzBusch
FranzBusch / Fastfile
Last active January 17, 2018 13:26
Sixt CI Test lanes
####### Testing #######
desc "Runs all the tests"
lane :tests do
unit_tests
ui_tests
end
desc "Runs all unit tests"
lane :unit_tests do
@FranzBusch
FranzBusch / Fastfile
Created January 17, 2018 13:33
Sixt CI Build lanes
####### Builds #######
desc "Submit a new Alpha Build to Fabric"
lane :alpha do |options|
changelog = sh("git log --pretty=format:'* %s <%an>%n' --first-parent --abbrev-commit #{ENV['GIT_PREVIOUS_SUCCESSFUL_COMMIT'] || 'HEAD^^^^^'}..HEAD")
increment_build_number( build_number: ENV["CIRCLE_BUILD_NUM"])
certificates(
use_temporary_keychain: options[:use_temporary_keychain],