Sha256: a9775ba11e17cbdd83ba9c7ee4a6135ab18820ba740dfb1c57aca80f599cca5a
Contents?: true
Size: 419 Bytes
Versions: 4
Compression:
Stored size: 419 Bytes
Contents
module Milestoner # Handles publishing of Git tags to remote repository. class Pusher include Aids::Git def initialize kernel: Kernel @kernel = kernel end def push fail(Errors::Git) unless git_supported? fail(Errors::Git, "Git remote repository is not configured.") unless git_remote? kernel.system "git push --tags" end private attr_reader :kernel end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
milestoner-1.2.0 | lib/milestoner/pusher.rb |
milestoner-1.1.0 | lib/milestoner/pusher.rb |
milestoner-1.0.0 | lib/milestoner/pusher.rb |
milestoner-0.5.0 | lib/milestoner/pusher.rb |