github-release-party 0.4.1 → 0.4.2
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 +2 -3
- data/lib/github-release-party/tasks/fly.rb +8 -4
- data/lib/github-release-party/tasks/heroku.rb +1 -1
- data/lib/github-release-party/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4628aa91ed6ea25c8c5e9abb389d1cbd3a7818eb157a5a91cd3d025666e991c3
|
4
|
+
data.tar.gz: aefee785fe0dbdac1f7d0282d9d73534d594f92752276fab76c3a8b33a1e74a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6bad6b486467baeeea176ef926d161ea8b48280b0181ee29ce042f9d8763373f1696cad0246f6ddfcb0da6bf536ed6e01b23cda75e961853109b00340dfb575
|
7
|
+
data.tar.gz: 71671b2596f5880f861ae4152286026317e75b061ecabd97edb483ddb466991fec658ae52b3abf749971f7929ed371a0ed8daadc7b068dae3e1b5459e5c4c5fc
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
�۬<�!?�ȸeGIͩ�v���$�p־�m�ߪ&���V<���傐�e3IZl���̉�q~�6�
|
1
|
+
8�L\9�+���pk�~2��=���yoc㈦�������^_C���R��t��Ĝ�"�m�|�iv�Nd�*�q�G��'��}��vu�m����r�� �4`�3��'�p(���c���2��z���������kW��v����z.���`'4���Qxw�܀�k��l)�D��:f� {�5IR����)<��)NRcx���'f!ر��4�aLV9h[@Q�zɶ�(��G%">��A�N�
|
2
|
+
s*�
|
@@ -67,11 +67,15 @@ namespace :deploy do
|
|
67
67
|
|
68
68
|
# get fly version number
|
69
69
|
begin
|
70
|
-
|
71
|
-
|
70
|
+
data = `fly releases --json`
|
71
|
+
abort if not $?.success?
|
72
|
+
fly_releases = JSON.parse(data)
|
73
|
+
ver = "v#{fly_releases[0]["Version"]}"
|
72
74
|
hash = `git rev-parse HEAD`.strip
|
73
|
-
rescue
|
74
|
-
|
75
|
+
rescue => err
|
76
|
+
puts "There was a problem getting the release number."
|
77
|
+
puts "The error was: #{err.message}"
|
78
|
+
abort
|
75
79
|
end
|
76
80
|
|
77
81
|
github_tag(hash, ver)
|
@@ -79,7 +79,7 @@ namespace :deploy do
|
|
79
79
|
ver = `heroku releases --app '#{heroku_app}'`.split("\n")[1].split(" ")[0]
|
80
80
|
hash = `git rev-parse HEAD`.strip
|
81
81
|
rescue
|
82
|
-
abort "There was a problem getting the release number. Have you logged in with the Heroku cli?
|
82
|
+
abort "There was a problem getting the release number. Have you logged in with the Heroku cli?"
|
83
83
|
end
|
84
84
|
|
85
85
|
github_tag(hash, ver)
|
data.tar.gz.sig
CHANGED
Binary file
|
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.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Sundin
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
E04BZKo2WzOTzSDymo97Yu4YFgyc98umMyeaCvPk4YmdNzqSanAXpY2bnsyu0CF5
|
32
32
|
Td0=
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date: 2023-02-
|
34
|
+
date: 2023-02-19 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
metadata.gz.sig
CHANGED
Binary file
|