Sha256: 0b53b1c8727aa93609ce0b4e5dbedbbddafd9704685bcb972af7edb1b335a2b0

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 Bytes

Contents

require_relative "base"

module PodPrebuild
  class CachePusher < CommandExecutor
    def initialize(options)
      super(options)
      @cache_branch = options[:cache_branch]
    end

    def run
      Pod::UI.step("Pushing cache") do
        commit_message = "Update prebuilt cache".shellescape
        git("add .")
        git("commit -m '#{commit_message}'")
        git("push origin head")
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocoapods-binary-cache-0.1.3 lib/command/executor/pusher.rb
cocoapods-binary-cache-0.1.2 lib/command/executor/pusher.rb
cocoapods-binary-cache-0.1.1 lib/command/executor/pusher.rb