Fastlane Deliverfile

:  ~ 1 min read

This is the last post about how we use fastlane, and it will present the Deliverfile.

default_language "de-DE"
email itc-username
automatic_release false
skip_pdf true
hide_transporter_output
screenshots_path "../../../../Google Drive/iTunes Assets/images"

if ENV["VERSION_NUMBER"]
  version ENV["VERSION_NUMBER"]
end

changelog(
  "en-US" => File.read("../../../../Google Drive/iTunes Assets/changelog/en.txt"),
  "de-DE" => File.read("../../../../Google Drive/iTunes Assets/changelog/de.txt"),
  "fr-FR" => File.read("../../../../Google Drive/iTunes Assets/changelog/fr.txt"),
  "it-IT" => File.read("../../../../Google Drive/iTunes Assets/changelog/it.txt")
)

success do
  system("say 'Successfully submitted a new version.'")
end

error do |information|
  # custom exception handling here
  raise "Something went wrong: #{information['error']}"
end

Pretty straightforward: set the required variables (this is where ENV["VERSION_NUMBER"] from last time came in handy), while the screenshots and the changelog are in Google Drive, where the guys from the Product and / or Design team can modify if needed. I just need the ok, we can release now after the files have been updated and fastlane lane does the rest.

==Awesome==.