lib/deliver/commands_generator.rb in deliver-0.13.4 vs lib/deliver/commands_generator.rb in deliver-0.13.5
- old
+ new
@@ -24,12 +24,26 @@
program :help, 'Author', 'Felix Krause <deliver@krausefx.com>'
program :help, 'Website', 'https://fastlane.tools'
program :help, 'GitHub', 'https://github.com/krausefx/deliver'
program :help_formatter, :compact
+ always_trace!
+
global_option '-f', '--force', 'Runs a deployment without verifying any information (PDF file). This can be used for build servers.'
global_option '--beta', 'Upload a beta build to iTunes Connect. This uses the `beta_ipa` block.'
global_option '--skip-deploy', 'Skips submission of the build on iTunes Connect. This will only upload the ipa and/or metadata.'
+
+ def show_itc_error
+ Helper.log.fatal "A big iTunes Connect Update was released on 24th September".red
+ Helper.log.fatal "Most parts of `deliver` don't work with it (yet)".red
+ Helper.log.fatal "I'm working on an update for deliver to push a new version ASAP".red
+ Helper.log.fatal "More information about the current status on GitHub".red
+ Helper.log.fatal "https://github.com/KrauseFx/deliver/issues/337".red
+ Helper.log.fatal "https://github.com/KrauseFx/deliver/pull/259".red
+ sleep 5
+ end
+
+ show_itc_error
command :run do |c|
c.syntax = 'deliver'
c.description = 'Run a deploy process using the Deliverfile in the current folder'
c.action do |args, options|
\ No newline at end of file