discharger 0.2.8 → 0.2.10
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 +4 -4
- data/lib/discharger/task.rb +2 -5
- data/lib/discharger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 123fc77a1effa1f7cd70e68b9056cfb9d9491069edafca3939b40c092cf580fd
|
4
|
+
data.tar.gz: 9800b64540311c15e0805d835e6f137e39b5751a932ee3106406743b21353d8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f840bfaf4c5db5c4321263d968d7fda42388d978fa49571bf78be219b64afcd52b9e06e870fe6d33fdd54b417104d1646dbbed4bf77ab42c154ff851d68da96c
|
7
|
+
data.tar.gz: 6dc97ddbfe29459973e3d2eaee4fa299c644112b5d0a3c3c65d566015c7018ba3ae4c0da0265781fc3d6785c0bbfe38bca0bdacbede5584646cafdaa09dff8bc
|
data/lib/discharger/task.rb
CHANGED
@@ -164,13 +164,9 @@ module Discharger
|
|
164
164
|
Preparing to bump the version for the next release.
|
165
165
|
|
166
166
|
MSG
|
167
|
-
|
168
167
|
tasker["reissue"].invoke
|
169
|
-
new_version = Object.const_get(version_constant)
|
170
|
-
new_version_branch = "bump/begin-#{new_version.tr(".", "-")}"
|
171
|
-
continue = syscall(["git checkout -b #{new_version_branch}"])
|
172
168
|
|
173
|
-
|
169
|
+
new_version_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
174
170
|
|
175
171
|
pr_url = "#{pull_request_url}/compare/#{working_branch}...#{new_version_branch}?expand=1&title=Begin%20#{current_version}"
|
176
172
|
|
@@ -211,6 +207,7 @@ module Discharger
|
|
211
207
|
["git checkout -b #{staging_branch}"],
|
212
208
|
["git push origin #{staging_branch} --force"]
|
213
209
|
) do
|
210
|
+
current_version = Object.const_get(version_constant)
|
214
211
|
tasker["#{name}:slack"].invoke("Building #{app_name} #{current_version} (#{commit_identifier.call}) on #{staging_branch}.", release_message_channel)
|
215
212
|
syscall ["git checkout #{working_branch}"]
|
216
213
|
end
|
data/lib/discharger/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discharger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Gay
|
8
8
|
- Savannah Moore
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open3
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.6.
|
119
|
+
rubygems_version: 3.6.7
|
120
120
|
specification_version: 4
|
121
121
|
summary: Tasks for discharging an application for deployment.
|
122
122
|
test_files: []
|