Sha256: cb49b51b86811cfd87032a46585b171508d7f1f285fca05065e522e779e43023

Contents?: true

Size: 1.34 KB

Versions: 17

Compression:

Stored size: 1.34 KB

Contents

module Fastlane
  module Actions
    module SharedValues
      SIGH_PROFILE_PATH = :SIGH_PROFILE_PATH
      SIGH_UDID = :SIGH_UDID
    end

    class SighAction < Action
      def self.run(values)
        require 'sigh'
        require 'sigh/options'
        require 'sigh/manager'
        require 'credentials_manager/appfile_config'

        begin
          FastlaneCore::UpdateChecker.start_looking_for_update('sigh') unless Helper.is_test?

          Sigh.config = values # we alread have the finished config
          
          path = Sigh::Manager.start

          Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] = path # absolute path
          Actions.lane_context[SharedValues::SIGH_UDID] = ENV["SIGH_UDID"] if ENV["SIGH_UDID"] # The UDID of the new profile

          return ENV["SIGH_UDID"] # return the UDID of the new profile
        ensure
          FastlaneCore::UpdateChecker.show_update_status('sigh', Sigh::VERSION)
        end
      end

      def self.description
        "Generates a provisioning profile. Stores the profile in the current folder"
      end

      def self.author
        "KrauseFx"
      end

      def self.available_options
        require 'sigh'
        require 'sigh/options'
        Sigh::Options.available_options
      end

      def self.is_supported?(platform)
        platform == :ios
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fastlane-1.19.0 lib/fastlane/actions/sigh.rb
fastlane-1.18.0 lib/fastlane/actions/sigh.rb
fastlane-1.17.1 lib/fastlane/actions/sigh.rb
fastlane-1.17.0 lib/fastlane/actions/sigh.rb
fastlane-1.16.0 lib/fastlane/actions/sigh.rb
fastlane-1.15.0 lib/fastlane/actions/sigh.rb
fastlane-1.14.1 lib/fastlane/actions/sigh.rb
fastlane-1.14.0 lib/fastlane/actions/sigh.rb
fastlane-1.13.1 lib/fastlane/actions/sigh.rb
fastlane-1.13.0 lib/fastlane/actions/sigh.rb
fastlane-1.12.0 lib/fastlane/actions/sigh.rb
fastlane-1.11.0 lib/fastlane/actions/sigh.rb
fastlane-1.10.0 lib/fastlane/actions/sigh.rb
fastlane-1.9.0 lib/fastlane/actions/sigh.rb
fastlane-1.8.0 lib/fastlane/actions/sigh.rb
fastlane-1.7.3 lib/fastlane/actions/sigh.rb
fastlane-1.7.2 lib/fastlane/actions/sigh.rb