Sha256: 0ad4c0e5328b8a797f3c711700c13b45b002533a3f966cafae5b9b6cd669957b

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

module Fastlane
  module Actions
    class GitPullAction < Action
      def self.run(params)
        command = [
          'git',
          'pull',
          '--tags'
        ]

        Actions.sh(command.join(' '))
        Helper.log.info 'Sucesfully pulled from remote.'
      end

      def self.description
        "Executes a simple git pull command"
      end

      def self.available_options
        [
        ]
      end

      def self.author
        "lmirosevic"
      end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fastlane-1.13.1 lib/fastlane/actions/git_pull.rb
fastlane-1.13.0 lib/fastlane/actions/git_pull.rb