Class: CreateGithubRelease::Tasks::UpdateVersion
- Inherits:
-
CreateGithubRelease::TaskBase
- Object
- CreateGithubRelease::TaskBase
- CreateGithubRelease::Tasks::UpdateVersion
- Defined in:
- lib/create_github_release/tasks/update_version.rb
Overview
Update the gem version using gem-version-boss
Instance Attribute Summary
Attributes inherited from CreateGithubRelease::TaskBase
Instance Method Summary collapse
-
#run
Update the gem version using gem-version-boss.
Methods inherited from CreateGithubRelease::TaskBase
#backtick_debug?, #error, #initialize, #print, #puts
Methods included from BacktickDebug
Constructor Details
This class inherits a constructor from CreateGithubRelease::TaskBase
Instance Method Details
#run
This method returns an undefined value.
Update the gem version using gem-version-boss
32 33 34 35 36 37 38 |
# File 'lib/create_github_release/tasks/update_version.rb', line 32 def run return if project.first_release? print 'Updating version...' increment_version stage_version_file end |