Class: StiDeploy::Deploy
- Inherits:
-
Object
- Object
- StiDeploy::Deploy
- Defined in:
- lib/sti_deploy/deploy.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
- #commit_merge_and_tag! ⇒ Object
-
#initialize ⇒ Deploy
constructor
A new instance of Deploy.
- #update_version! ⇒ Object
Constructor Details
#initialize ⇒ Deploy
Returns a new instance of Deploy.
7 8 9 |
# File 'lib/sti_deploy/deploy.rb', line 7 def initialize @version = Version.load_version end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'lib/sti_deploy/deploy.rb', line 5 def type @type end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
5 6 7 |
# File 'lib/sti_deploy/deploy.rb', line 5 def version @version end |
Instance Method Details
#commit_merge_and_tag! ⇒ Object
18 19 20 |
# File 'lib/sti_deploy/deploy.rb', line 18 def commit_merge_and_tag! Git.new(version, type).commit_merge_and_tag!() end |