Class: Papa::Command::Git::TagPush
- Defined in:
- lib/papa/command/git/tag_push.rb
Instance Attribute Summary
Attributes inherited from Base
#command, #exit_status, #silent, #stderr, #stdout
Instance Method Summary collapse
-
#initialize(remote, tag_name) ⇒ TagPush
constructor
A new instance of TagPush.
Methods inherited from Base
#cleanup, #failed?, #failure_message, #run, #success?
Constructor Details
#initialize(remote, tag_name) ⇒ TagPush
Returns a new instance of TagPush.
7 8 9 10 |
# File 'lib/papa/command/git/tag_push.rb', line 7 def initialize(remote, tag_name) command = "git push #{remote} #{tag_name}" super(command) end |