Sha256: aa0619a2afc4903cb3b13d0ddd9ac4fda621a15b3ab11c72669585de2ea758ae

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

module Milestoner
  # Handles publishing of Git tags to remote repository.
  class Pusher
    def initialize kernel: Kernel
      @kernel = kernel
    end

    def push
      kernel.system "git push --tags"
    end

    private

    attr_reader :kernel
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
milestoner-0.3.0 lib/milestoner/pusher.rb
milestoner-0.2.0 lib/milestoner/pusher.rb