Class: Milestoner::Tags::Pusher

Inherits:
Object
  • Object
show all
Defined in:
lib/milestoner/tags/pusher.rb

Overview

Handles publishing of tags to a remote repository.

Instance Method Summary collapse

Instance Method Details

#call(version) ⇒ Object



12
13
14
15
# File 'lib/milestoner/tags/pusher.rb', line 12

def call version
  check_remote_repo(version).bind { check_remote_tag version }
                            .bind { push version }
end