Sha256: 7aeedd3ec2cdd8aa2df6af5fb14926d41958c5ca043f418806ce17b1905d7407

Contents?: true

Size: 1.04 KB

Versions: 17

Compression:

Stored size: 1.04 KB

Contents

module Fastlane
  module Actions
    class SubmitAction < Action
      def self.run(_params)
        # sh 'bundle exec rubocop -D'
        puts _params
        command :submit do |c|
          c.syntax = 'apprepo submit'
          c.description = 'Submit a specific build-nr, use latest.'
          c.action do |_args, options|
            config = FastlaneCore::Configuration
            available_opts = Apprepo::Options.available_options
            options = config.create(available_opts, options.__hash__)
            options.load_configuration_file('Repofile')
            Apprepo::Runner.new(options).run
          end
        end
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        'Submits IPA to Apprepo'
      end

      def self.available_options
        []
      end

      def self.authors
        ['suculent@me.com']
      end

      def self.is_supported?(_platform)
        true
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fastlane-plugin-apprepo-0.5.5 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.5.4 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.5.3 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.5.2 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.5.1 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.5.0 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.4.3 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.4.2 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.4.1 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.4.0 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.9 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.8 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.7 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.6 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.3 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.1 lib/fastlane/plugin/apprepo/actions/submit.rb
fastlane-plugin-apprepo-0.3.0 lib/fastlane/plugin/apprepo/actions/submit.rb