Class: StiDeploy::Version::ReleaseCandidate
- Inherits:
-
VersionBumper
- Object
- VersionBumper
- StiDeploy::Version::ReleaseCandidate
- Defined in:
- lib/sti_deploy/version/release_candidate.rb
Instance Attribute Summary
Attributes inherited from VersionBumper
Instance Method Summary collapse
Methods inherited from VersionBumper
Constructor Details
This class inherits a constructor from StiDeploy::Version::VersionBumper
Instance Method Details
#bump ⇒ Object
6 7 8 9 10 11 |
# File 'lib/sti_deploy/version/release_candidate.rb', line 6 def bump version.minor += 1 if version.rc.zero? version.hotfix = 0 version.pre = 0 version.rc += 1 end |