Class: CreateGithubRelease::Tasks::CreateReleasePullRequest
- Inherits:
-
CreateGithubRelease::TaskBase
- Object
- CreateGithubRelease::TaskBase
- CreateGithubRelease::Tasks::CreateReleasePullRequest
- Defined in:
- lib/create_github_release/tasks/create_release_pull_request.rb
Overview
Create a pull request in Github with a list of changes
Instance Attribute Summary
Attributes inherited from CreateGithubRelease::TaskBase
Instance Method Summary collapse
-
#run
Create a pull request in Github with a list of changes.
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 a pull request in Github with a list of changes
32 33 34 35 36 37 38 39 |
# File 'lib/create_github_release/tasks/create_release_pull_request.rb', line 32 def run tmp_path = write_pr_body_to_tmp_file begin create_release_pr(tmp_path) ensure File.unlink(tmp_path) end end |