groundskeeper-bitcore 0.3.7 → 0.4.0
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/groundskeeper/commands.rb +6 -11
- data/lib/groundskeeper/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28c3fb226eeca98dade7d09105cf1b9647342abafaa6e55f6ba68f7c50c9e5c3
|
|
4
|
+
data.tar.gz: 45c14acb4bbd26210fd1ae6191b8f281b8c66c403b6c220ae10ecc96ed8a2acf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: faeb700d2295e53585b1cca462412db81b18822f687b698deaff90d7c9914265008e4c734458e476a34d7d4d3c3788429837b36ba250c1eb0e9bdbd6efda56b6
|
|
7
|
+
data.tar.gz: 3e43efabf0aa3cec95b08dce0567b95d760ada35a6a72c615083e13fd57be6e69b30cae6d2b782ccd75689eff4a73c050bc7e0d205a22302750a5aba58b2b443
|
|
@@ -72,7 +72,6 @@ module Groundskeeper
|
|
|
72
72
|
@sentry = sentry
|
|
73
73
|
@website = website
|
|
74
74
|
@version_file = version_file
|
|
75
|
-
@did_checkout_branch = false
|
|
76
75
|
@did_push_to_remote = false
|
|
77
76
|
@current_step = 1
|
|
78
77
|
end
|
|
@@ -113,7 +112,7 @@ module Groundskeeper
|
|
|
113
112
|
|
|
114
113
|
summarize_recent_commits unless is_initial_release
|
|
115
114
|
ask_next_version(is_initial_release)
|
|
116
|
-
|
|
115
|
+
checkout_new_branch
|
|
117
116
|
update_version_file
|
|
118
117
|
update_changelog
|
|
119
118
|
commit_changes_and_tag(is_initial_release)
|
|
@@ -164,8 +163,8 @@ module Groundskeeper
|
|
|
164
163
|
attr_reader :changelog, :console, :git, :jira, :project,
|
|
165
164
|
:repository, :rubygems, :sentry, :version_file, :website
|
|
166
165
|
# state
|
|
167
|
-
attr_reader :current_step, :
|
|
168
|
-
:
|
|
166
|
+
attr_reader :current_step, :did_push_to_remote, :next_version,
|
|
167
|
+
:recent_commits
|
|
169
168
|
|
|
170
169
|
def mina(command, options)
|
|
171
170
|
announce_step "Run mina to deploy"
|
|
@@ -233,12 +232,8 @@ module Groundskeeper
|
|
|
233
232
|
console.say("next tag will be: #{next_version}", :green)
|
|
234
233
|
end
|
|
235
234
|
|
|
236
|
-
def
|
|
237
|
-
|
|
238
|
-
"Checkout new branch #{new_branch_name}? [y, n]",
|
|
239
|
-
:cyan
|
|
240
|
-
)
|
|
241
|
-
git.create_and_checkout_branch(new_branch_name) if did_checkout_branch
|
|
235
|
+
def checkout_new_branch
|
|
236
|
+
git.create_and_checkout_branch(new_branch_name)
|
|
242
237
|
end
|
|
243
238
|
|
|
244
239
|
def update_version_file
|
|
@@ -335,7 +330,7 @@ module Groundskeeper
|
|
|
335
330
|
end
|
|
336
331
|
|
|
337
332
|
def new_branch_name
|
|
338
|
-
"
|
|
333
|
+
"release/#{next_version}"
|
|
339
334
|
end
|
|
340
335
|
|
|
341
336
|
def run_mina(arguments)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: groundskeeper-bitcore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- BIT Core
|
|
@@ -206,8 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
206
206
|
- !ruby/object:Gem::Version
|
|
207
207
|
version: '0'
|
|
208
208
|
requirements: []
|
|
209
|
-
|
|
210
|
-
rubygems_version: 2.7.7
|
|
209
|
+
rubygems_version: 3.0.2
|
|
211
210
|
signing_key:
|
|
212
211
|
specification_version: 4
|
|
213
212
|
summary: A gem for managing releases and deployments.
|