current date, hour and minute" lane :set_build_number do build_number = Time.new.strftime("%m%d%H%M") increment_build_number build_number: build_number end desc "Sets the version number to the latest specified in changelog" lane :set_version_number do # Read the changelog and get topmost version number # Stolen from artsy/eidolon readme = File.read("../CHANGELOG.md") latest_version = readme.split("\n## ").first first_line = latest_version.split("\n").first version_number = first_line.split(" ")[1] increment_version_number version_number: version_number end
configuration" desc "- param: config:debug|adhoc|release" lane :test do |options| # Jenkins setup setup_jenkins(result_bundle: false) # Clear derived data clear_derived_data # Get the configuration configuration = to_configuration(options[:config]) # Run unit tests on all test devices scan( scheme: SCHEME, workspace: WORKSPACE_NAME, devices: TEST_DEVICES, configuration: configuration, code_coverage: true )
SE", "iPad Pro (12.9-inch) (2nd generation)", # "iPhone 4s", - there's a bug on fastlane for 4s and Xcode 9 # "iPad Pro (10.5-inch)" there's a one pixel off bug ]) languages([ "de-DE", "en-GB", "en-US", "es-ES", "fr-FR", "nl-NL", "pt-PT", ["da", "da-DK"], ["fi", "fi-FI"], ["el", "el-GR"], ["it", "it-IT"], ["no", "nn-NO"], ["ru", "ru-RU"], ["sv", "sv-SE"] ]) # The name of the scheme which contains the UI Tests scheme "zooplusUITests"
= "2" # This disables Aspera and Sigliants to upload the app # and guarantees upload through 443 TCP Port ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"] = "-t DAV"