github-release-party 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: 19348f4d75f3200e9ce8e821b0736994efd47315
4
- data.tar.gz: c2c584dac507dac8b1cf8adf11c0104319c8f0e2
3
+ metadata.gz: 4bcaf2fadfdab5d6a5496edd167e7f2a0ee1c8f8
4
+ data.tar.gz: c13969b1268c80785cd2f869b9e2d667e0ea7f62
5
5
  SHA512:
6
- metadata.gz: 3326c245a0604d59754c8072428ce20f257e802d7351a61606079c3c6246f9b4d89254e0432adf779ded6e5ad21527d128df41fd22acf3cfcaa59abe9c67a83f
7
- data.tar.gz: 5c0e81df32f902930347dd5512cc7e23d491eb018828beca4f19a5c341821371462996111891675e70e6f6a5af3d0c78068df5e336bae041bdfa3bfc3be9ca1b
6
+ metadata.gz: 7c8a50d90d06a1e38342cf7d5edc8a0bcdf1475861ffb1bfd2035a2c8c24b821f2e15a107d61cd4386e38a6d626ad0f499386d0aa4b82e3e3a2cb5e89029b041
7
+ data.tar.gz: ca21aa5b86402632e4f4eb00368de716b8437be1c96a0ea19648a1b0feb87d835b16d9c5da5ed1598c825258dccacb2265301f506eb07f82c35411d7dfa48d1d
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- �%���e�,D��i��H��,���_ҙ��yQ����WB "����"Q�/$:��l�/�`6�T���bbA��wp-~��lQSvE��Ռ�ٱP&�L�d���o>��VW���hE�|��Ǡ�
2
- дw��g& ue�+�?{8�_��>�}m����j�������֊��p5J�i�! ��b�:�W���2��͆lxU����![��ܞ�Rc������h�tN�v%�ݐ������Q@�L�D5�
1
+ F�ᐆ�Iyk������,�h67FC�URe�]�m0�z���򢬾/�rG�/�E�t��ZU�8Mܪ���d���Fk�
2
+ `e?�l l '��
@@ -2,7 +2,7 @@ require "github-release-party"
2
2
 
3
3
  desc "Deploy new version to Heroku"
4
4
  task :deploy do
5
- return unless GithubReleaseParty.env_ok
5
+ abort unless GithubReleaseParty.env_ok
6
6
  success = system "git push heroku HEAD:master"
7
7
  if not success
8
8
  abort "Deploy failed."
@@ -13,7 +13,7 @@ end
13
13
  namespace :deploy do
14
14
  desc "Forcibly deploy new version to Heroku"
15
15
  task :force do
16
- return unless GithubReleaseParty.env_ok
16
+ abort unless GithubReleaseParty.env_ok
17
17
  success = system "git push heroku HEAD:master --force"
18
18
  if not success
19
19
  abort "Deploy failed."
@@ -23,12 +23,16 @@ namespace :deploy do
23
23
 
24
24
  desc "Tag latest release"
25
25
  task :tag do
26
- return unless GithubReleaseParty.env_ok
26
+ abort unless GithubReleaseParty.env_ok
27
27
 
28
28
  # get heroku version number
29
- ver = `heroku releases`.split("\n")[1].split(" ")[0]
30
- hash = `git rev-parse HEAD`.strip
31
- tag_name = "heroku/#{ver}"
29
+ begin
30
+ ver = `heroku releases`.split("\n")[1].split(" ")[0]
31
+ hash = `git rev-parse HEAD`.strip
32
+ tag_name = "heroku/#{ver}"
33
+ rescue
34
+ abort "There was a problem getting the release number. Have you logged in with the Heroku cli? Try again with 'rake deploy:tag'."
35
+ end
32
36
 
33
37
  # build tag message
34
38
  repo = GithubReleaseParty.repo
@@ -1,3 +1,3 @@
1
1
  class GithubReleaseParty
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: github-release-party
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
  - Stefan Sundin
@@ -31,7 +31,7 @@ cert_chain:
31
31
  om8ywtenW15x7BAdGyxJu5GG405l/m+Acfg2+dLqNme8av1YIJcKAchwWzE5/EvH
32
32
  PiU=
33
33
  -----END CERTIFICATE-----
34
- date: 2015-06-28 00:00:00.000000000 Z
34
+ date: 2015-11-08 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: httparty
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  version: 1.3.6
93
93
  requirements: []
94
94
  rubyforge_project:
95
- rubygems_version: 2.2.2
95
+ rubygems_version: 2.4.5.1
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Easily create GitHub releases.
metadata.gz.sig CHANGED
Binary file