Created
January 17, 2018 13:33
-
-
Save FranzBusch/b1dbee1a5bcfdc7e33acbfdef7fb46b9 to your computer and use it in GitHub Desktop.
Sixt CI Build lanes
This file contains 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
####### 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], | |
refresh_certificates: options[:refresh_certificates] | |
) | |
gym( | |
workspace: "XXX.xcworkspace", | |
scheme: "XXX", | |
configuration: options[:configuration], | |
clean: true | |
) | |
crashlytics( | |
crashlytics_path: './Pods/Crashlytics/', | |
notes: "#{changelog.to_s}", | |
notifications: true, | |
groups: ["Group"] | |
) | |
end | |
desc "Submit a new build to iTunes Connect" | |
lane :appstore do |options| | |
certificates( | |
use_temporary_keychain: options[:use_temporary_keychain], | |
refresh_certificates: options[:refresh_certificates] | |
) | |
increment_build_number( | |
build_number: ENV["BUILD_NUMBER"] | |
) | |
gym( | |
verbose: true, | |
workspace: "XXX.xcworkspace", | |
configuration: "Release", | |
scheme: "XXX", | |
clean: true, | |
include_symbols: true, | |
export_method: "app-store" | |
) | |
testflight( | |
skip_submission: true, | |
skip_waiting_for_build_processing: true | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment