lbhrr 2.34.1 → 2.34.4
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/exe/lbhrr +12 -2
- data/lib/lbhrr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01e7b563f78733c7e1dbd0b063132ef5b7dbc72906e3f178a1c64b954d1a5bbd
|
|
4
|
+
data.tar.gz: e0ba1846f5ef44ad45d47a07402453f8f4770ab1e5d8293e397df8229f27a78d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b09358f2732877c2ca3b1b41152448cc3708748e4765b34c4633b0c4489ceac3c9ae09a2a7dd0e1c05d29abb7677770bcfac7fdffb37d22d4031ccb1804fb3a
|
|
7
|
+
data.tar.gz: 49fd10dd7505a59933cc669d10ef8c46ecc45f6923044cc6af85bb843a7278be847d9ac81df069d2e9b7ef57a74f9708fa387adf1309bb9458b1a828512c1a48
|
data/exe/lbhrr
CHANGED
|
@@ -23,7 +23,10 @@ class LbhrrCLI < Thor
|
|
|
23
23
|
[21,34,55][n]
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
def ok(url,grace: 0)
|
|
26
|
+
def ok(url,grace: 0,skip: false)
|
|
27
|
+
|
|
28
|
+
yield if block_given? if skip
|
|
29
|
+
|
|
27
30
|
retries = 2
|
|
28
31
|
sleep(grace)
|
|
29
32
|
(0..retries).each do |i|
|
|
@@ -396,6 +399,8 @@ class LbhrrCLI < Thor
|
|
|
396
399
|
end
|
|
397
400
|
|
|
398
401
|
desc "hoist", "Deploy an application using the configuration from config/manifest.yml to next"
|
|
402
|
+
method_option :current, type: :boolean, aliases: "-c", desc: "curret version"
|
|
403
|
+
method_option :skipok, type: :boolean, aliases: "-so", desc: "curret version"
|
|
399
404
|
method_option :major, type: :boolean, aliases: "-ma", desc: "Increment major version"
|
|
400
405
|
method_option :msg, type: :boolean, aliases: "-msg", desc: "set the commit message"
|
|
401
406
|
method_option :minor, type: :boolean, aliases: "-mi", desc: "Increment minor version"
|
|
@@ -430,8 +435,13 @@ class LbhrrCLI < Thor
|
|
|
430
435
|
"patch"
|
|
431
436
|
end
|
|
432
437
|
|
|
438
|
+
|
|
433
439
|
version = increment_version(config["version"], focus.to_sym)
|
|
434
440
|
|
|
441
|
+
if options[:current]
|
|
442
|
+
version = config['version']
|
|
443
|
+
end
|
|
444
|
+
|
|
435
445
|
modify_manifest do |config|
|
|
436
446
|
config["version"] = version
|
|
437
447
|
end
|
|
@@ -455,7 +465,7 @@ class LbhrrCLI < Thor
|
|
|
455
465
|
change = "RELEASE #{version}"
|
|
456
466
|
commit("#{change}\n\n#{msg}\n\n Hoisted #{name} version #{version}")
|
|
457
467
|
|
|
458
|
-
ok("https://next.#{config['host']}/ok",grace: 25) do
|
|
468
|
+
ok("https://next.#{config['host']}/ok",grace: 25,skip:options[:skipok]) do
|
|
459
469
|
notify_terminal(" #{name} version #{version} is up on next!", "Lbhhr")
|
|
460
470
|
end
|
|
461
471
|
end
|
data/lib/lbhrr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lbhrr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.34.
|
|
4
|
+
version: 2.34.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Delaney Kuldvee Burke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-03-
|
|
11
|
+
date: 2024-03-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ssh
|