github-release-party 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 664c59ae81cad40fef59088692a751f24b438191f6cbecbd03b71844a89da55f
4
- data.tar.gz: 4d43e58bb67513ddaaea47bcf043bc30026c75103783e1d8e99376035cd18102
3
+ metadata.gz: 8cd5a7e2c3daa955db7628605058c697a2cf1bc045b52640e0a3328d25261183
4
+ data.tar.gz: 2da10dda6892979d9b3b2e9ae8af94ef598be709e0a69eaf59fd4d1d47b454e2
5
5
  SHA512:
6
- metadata.gz: ab4e3654310e8243dabb644b40f0ed31925acba3570fd347670853000c2680648ea08e35505067aac69b82829aacd908e3317e5ce0c4aa6d6bf2115de40afc40
7
- data.tar.gz: e672bad301708a093c8014926790426e1cfc27dace66220c9259651e7a4eb9273b1e10d346b1abef986585a564a922169fffc70d26d9d9a670355bf7069c3910
6
+ metadata.gz: 6f179fcae86adc5a9489dd0ecd7fc63c5f53473c9633685572f695733a8814cfbb9278c7f279b2735e98c6342c48168ddaae7422dfc3abbbf49bfcd432ae1a9d
7
+ data.tar.gz: b4a4cda938e8458600e631acfd85e0ddd4d9819f72db0eea60ea93bd74b0203381de8a5a85247c58148e4e21bdeabfcfe686d5c854c17dd2cf183e077a14e7db
checksums.yaml.gz.sig CHANGED
Binary file
@@ -4,6 +4,7 @@ require "github-release-party"
4
4
 
5
5
  def fly_deploy(args=[])
6
6
  cmd = %w[fly deploy] + args
7
+ puts "Executing: #{cmd.join(" ")}"
7
8
  return system(*cmd)
8
9
  end
9
10
 
@@ -52,9 +53,9 @@ end
52
53
 
53
54
 
54
55
  desc "Deploy a new version to Fly"
55
- task :deploy do
56
+ task :deploy do |task, args|
56
57
  GithubReleaseParty.check_env!
57
- fly_deploy() or abort("Deploy failed.")
58
+ fly_deploy(args.to_a) or abort("Deploy failed.")
58
59
  releases = fly_releases()
59
60
  ver = "v#{releases[0]["Version"]}"
60
61
  hash = `git rev-parse HEAD`.strip
@@ -5,6 +5,7 @@ require "github-release-party"
5
5
  def heroku_push(args=[])
6
6
  # grab the new version number from the Heroku push output
7
7
  cmd = %w[git push heroku HEAD:master] + args
8
+ puts "Executing: #{cmd.join(" ")}"
8
9
  ver = Open3.popen2e(*cmd) do |stdin, output, thread|
9
10
  v = nil
10
11
  output.each do |line|
@@ -53,18 +54,18 @@ end
53
54
 
54
55
 
55
56
  desc "Deploy a new version to Heroku"
56
- task :deploy do
57
+ task :deploy do |task, args|
57
58
  GithubReleaseParty.check_env!
58
- ver = heroku_push() or abort("Deploy failed.")
59
+ ver = heroku_push(args.to_a) or abort("Deploy failed.")
59
60
  hash = `git rev-parse HEAD`.strip
60
61
  github_tag(hash, ver)
61
62
  end
62
63
 
63
64
  namespace :deploy do
64
65
  desc "Deploy a new version to Heroku using --force"
65
- task :force do
66
+ task :force do |task, args|
66
67
  GithubReleaseParty.check_env!
67
- ver = heroku_push(%w[--force]) or abort("Deploy failed.")
68
+ ver = heroku_push(%w[--force] + args.to_a) or abort("Deploy failed.")
68
69
  hash = `git rev-parse HEAD`.strip
69
70
  github_tag(hash, ver)
70
71
  end
@@ -1,3 +1,3 @@
1
1
  class GithubReleaseParty
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
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.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Sundin
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: 1.3.6
78
78
  requirements: []
79
- rubygems_version: 4.0.3
79
+ rubygems_version: 4.0.15
80
80
  specification_version: 4
81
81
  summary: Easily create GitHub releases.
82
82
  test_files: []
metadata.gz.sig CHANGED
Binary file