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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1e8e0276b7208686c77514e5143a22bf22afbb2372e74e9d8b2f5db30e3c96b
4
- data.tar.gz: 19aa72dfdd6d4a714d0f8081e4b20dc8ef1fbfd7e383faeaca6eedf28a1b1cbe
3
+ metadata.gz: 4628aa91ed6ea25c8c5e9abb389d1cbd3a7818eb157a5a91cd3d025666e991c3
4
+ data.tar.gz: aefee785fe0dbdac1f7d0282d9d73534d594f92752276fab76c3a8b33a1e74a5
5
5
  SHA512:
6
- metadata.gz: 8db1b10d3765dea8dd6d4843e02ac7b308624da90566e9783f294455410d214bf55b32817b1931a5600cdfb3256f5be85887a85f00f36b5bf89157aeda92c94a
7
- data.tar.gz: 7b6df6d4862ae094a12d26ae8fdf08bf0d571543f41eab3a7a79cd15d0700c2dad4f26d3ab2eddbf672205aa40992127fbf5e04fbb20e63b118819a81fb5a671
6
+ metadata.gz: e6bad6b486467baeeea176ef926d161ea8b48280b0181ee29ce042f9d8763373f1696cad0246f6ddfcb0da6bf536ed6e01b23cda75e961853109b00340dfb575
7
+ data.tar.gz: 71671b2596f5880f861ae4152286026317e75b061ecabd97edb483ddb466991fec658ae52b3abf749971f7929ed371a0ed8daadc7b068dae3e1b5459e5c4c5fc
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- H� U��ts��V*�foGgSM8b���t\��1w�����B��lGi���qKL"���<zq< ��/M7���7�������Љ "'ޏ���ay ,1��-)nGɔ���
2
- ��;�mac�F��Ll.�.���k����_4Rm�51�m�-4z0��d�D��MCh��fݙw���+��
3
- �۬<�!?�ȸeGIͩ�v���$�p־�m�ߪ&���V<���傐�e3IZl���̉�q~�6�
1
+ 8�L\9�+���pk�~2��=���yoc㈦�������^_C���R��t��Ĝ�޶"m�|�iv�Nd�*�qG��'��}��vum����r�� 4`�3��'p(���c���2��z���������kW��v����z.���`'4���Qxw�܀�k��l)�D��:f {�5IR����)<��)NRcx���'f!ر��4aLV9h[@Qzɶ�(׶��G%">��A�N�
2
+ s*�
@@ -67,11 +67,15 @@ namespace :deploy do
67
67
 
68
68
  # get fly version number
69
69
  begin
70
- fly_releases = JSON.parse(`fly releases --json`)
71
- ver = "v" + fly_releases[0]["Version"]
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
- abort "There was a problem getting the release number. Have you logged in with flyctl? Try again with 'rake deploy:tag'."
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? Try again with 'rake deploy:tag'."
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)
@@ -1,3 +1,3 @@
1
1
  class GithubReleaseParty
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
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.1
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-13 00:00:00.000000000 Z
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