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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -2
- data/lib/github-release-party/tasks/heroku.rb +10 -6
- data/lib/github-release-party/version.rb +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bcaf2fadfdab5d6a5496edd167e7f2a0ee1c8f8
|
4
|
+
data.tar.gz: c13969b1268c80785cd2f869b9e2d667e0ea7f62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
2
|
-
|
1
|
+
�F�ᐆ�Iyk������,�h67F�C�URe�]�m0�z���/�rG�/�E�t��ZU�8Mܪ���d���F�k�
|
2
|
+
`e?�ll�'��
|
@@ -2,7 +2,7 @@ require "github-release-party"
|
|
2
2
|
|
3
3
|
desc "Deploy new version to Heroku"
|
4
4
|
task :deploy do
|
5
|
-
|
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
|
-
|
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
|
-
|
26
|
+
abort unless GithubReleaseParty.env_ok
|
27
27
|
|
28
28
|
# get heroku version number
|
29
|
-
|
30
|
-
|
31
|
-
|
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
|
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.
|
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-
|
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.
|
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
|