Class: StiDeploy::Version::ReleaseCandidate

Inherits:
VersionBumper show all
Defined in:
lib/sti_deploy/version/release_candidate.rb

Instance Attribute Summary

Attributes inherited from VersionBumper

#version

Instance Method Summary collapse

Methods inherited from VersionBumper

from_deploy_type, #initialize

Constructor Details

This class inherits a constructor from StiDeploy::Version::VersionBumper

Instance Method Details

#bumpObject



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