discharger 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/discharger/task.rb +5 -2
- data/lib/discharger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fffef572ce0376b8146f3291e63f9afc8c7f43cd71a0cb6a8bd4030ede12670
|
4
|
+
data.tar.gz: 3916de07bdf8c86b9e00a5d63d4c9686a06618e434b62298796bfab88721574a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72d7a4c5d239d3d43c8b1ce95e99f6161d877e2410b451b4cfa3c2bb69683211592f0f325e7bc64427f03ffe01e3ca8d96970a0ca968d828d6bf5ccea8cb8724
|
7
|
+
data.tar.gz: 69dfe1b7c337a4d94ee8eb943ea7805925f094589987b00c1c50408227cf38f6045f1d515176658ef1ec3fe7e7ad8d73564d417389bcbe3a9e738d6ea099dff7
|
data/lib/discharger/task.rb
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
require "rake/tasklib"
|
2
|
+
require "reissue/rake"
|
3
|
+
require "rainbow/refinement"
|
4
|
+
using Rainbow
|
2
5
|
|
3
6
|
module Discharger
|
4
7
|
class Task < Rake::TaskLib
|
@@ -131,7 +134,7 @@ module Discharger
|
|
131
134
|
"git tag -a v#{current_version} -m 'Release #{current_version}'",
|
132
135
|
"git push origin #{production_branch}; git push origin v#{current_version}"
|
133
136
|
) do
|
134
|
-
Rake::Task["slack"].invoke("Released #{Qualify.name} #{current_version} to production.", release_message_channel, ":chipmunk:")
|
137
|
+
Rake::Task["#{name}:slack"].invoke("Released #{Qualify.name} #{current_version} to production.", release_message_channel, ":chipmunk:")
|
135
138
|
syscall "git checkout #{working_branch}"
|
136
139
|
end
|
137
140
|
|
@@ -178,7 +181,7 @@ module Discharger
|
|
178
181
|
"git checkout -b #{staging_branch}",
|
179
182
|
"git push origin #{staging_branch} --force"
|
180
183
|
) do
|
181
|
-
Rake::Task["slack"].invoke("Building #{app_name} #{commit_identifier.call} on #{staging_branch}.", release_message_channel)
|
184
|
+
Rake::Task["#{name}:slack"].invoke("Building #{app_name} #{commit_identifier.call} on #{staging_branch}.", release_message_channel)
|
182
185
|
syscall "git checkout #{working_branch}"
|
183
186
|
end
|
184
187
|
end
|
data/lib/discharger/version.rb
CHANGED