Sha256: 327afddb53c72d9f4d3753bcc568033e99d577fb487a6beb62831b776f73e033
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
module Fastlane module Actions class PodPushTrunkAction < Action def self.run(params) command = 'pod trunk push' if params[:path] command << " '#{params[:path]}'" end result = Actions.sh("#{command}") Helper.log.info "Successfully pushed Podspec ⬆️ ".green return result end ##################################################### # @!group Documentation ##################################################### def self.description "Push a Podspec to Trunk" end def self.details "" end def self.available_options [ FastlaneCore::ConfigItem.new(key: :path, description: "The Podspec you want to push", optional: true, verify_block: proc do |value| raise "Couldn't find file at path '#{value}'".red unless File.exist?(value) raise "File must be a `.podspec`".red unless value.end_with?(".podspec") end) ] end def self.output end def self.return_value nil end def self.authors ["squarefrog"] end def self.is_supported?(platform) true end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane-1.32.0 | lib/fastlane/actions/pod_push_trunk.rb |