octorelease 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2afa312df40a06e80fa5118948c42d038be5dadf
4
- data.tar.gz: 95805f9f590aec59551062066026f950a505a71b
3
+ metadata.gz: fc6277ffa2e7e7950055c8cf0065513f11f0a528
4
+ data.tar.gz: 437ac4f02629d8193f6156db28b50fc35360dda9
5
5
  SHA512:
6
- metadata.gz: 5947940968be56746eff792642777b859db5c125c1919fb7cada9e24f2e5aee9abb72a1b30ac352740fcbe27974803e0bd7ad41a7a5408ef588459c86e5b6954
7
- data.tar.gz: 11e95fc2e8b6dcc387eb636d8cfb167050d46400269b7057e87ae10076451e35c103af5e9ccd94451153c2a0eecde3a79519deb8c5e857d8fa404011c327ae4b
6
+ metadata.gz: 8fa6f6b36671e6581ed966f28e41ca0d519b60ceaee763bd8a704c1c5f472abed84c187a71747adf29ccbf914d888130c975eedf61a2c3e2c06c6178ae893897
7
+ data.tar.gz: a01fbe169888224b4c3842ef25206cd5f1efadeec7b87f135dbd1ba71fef01a9c64e794527807ce637b40955f2c675412a2654e42e30fe6190d32da034cd48f7
@@ -39,7 +39,7 @@ task "octorelease" => "release" do
39
39
  title = Octokit.pull_request(repo, pull_id).title
40
40
  description << "* [#{title}](#{url})"
41
41
 
42
- Octokit.create_pull_request_comment(repo, pull_id, "Released as #{current_version}")
42
+ Octokit.add_comment(repo, pull_id, "Released as #{current_version}.")
43
43
  Bundler.ui.confirm "Added a release comment to the pull request ##{pull_id}"
44
44
  end
45
45
  end
@@ -50,7 +50,7 @@ task "octorelease" => "release" do
50
50
  {:body => description.join("\n")}
51
51
  )
52
52
 
53
- Bundler.ui.confirm "Created release #{current_version}."
53
+ Bundler.ui.confirm "Created a release #{current_version}."
54
54
  Bundler.ui.confirm "https://github.com/#{repo}/releases/tag/#{current_version}"
55
55
 
56
56
 
@@ -1,3 +1,3 @@
1
1
  module OctoRelease
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octorelease
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita