Class: CreateGithubRelease::Tasks::CreateGithubRelease
- Inherits:
-
CreateGithubRelease::TaskBase
- Object
- CreateGithubRelease::TaskBase
- CreateGithubRelease::Tasks::CreateGithubRelease
- Defined in:
- lib/create_github_release/tasks/create_github_release.rb
Overview
Create the release in Github
Instance Attribute Summary
Attributes inherited from CreateGithubRelease::TaskBase
Instance Method Summary collapse
-
#run
Create the release in Github.
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.
Create the release in Github
33 34 35 36 37 38 39 40 |
# File 'lib/create_github_release/tasks/create_github_release.rb', line 33 def run path = write_release_description_to_tmp_file(project.next_release_description) begin create_github_release(path) ensure File.unlink(path) end end |