prima-twig 0.31.30 → 0.31.31
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/bin/twig-feature +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf29e8571bf91f5566dcd8b9067f1b6927127786
|
|
4
|
+
data.tar.gz: c995fdab81f141163069d149a7d88185397b74b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ce45edb265a34bd5bac12c29a3f44dc04089359b710ac23293f8d5aa43a96a389bdadbf5dca68199cb3b322b36c09cf9b9a5e3b5a6488f72eb053859ea0db7a
|
|
7
|
+
data.tar.gz: 6e6d6aa7921d472ca6fd45cf79ad3ae5f43ad97f7171de99afe82572bbb8fc4ca7b5cf082d2fef6adce01dc4b4448766155c2a36cb95104d1ef520172bf7d639
|
data/bin/twig-feature
CHANGED
|
@@ -262,7 +262,7 @@ class Release
|
|
|
262
262
|
envs.each do |key, env|
|
|
263
263
|
title = ''
|
|
264
264
|
env.each do |e|
|
|
265
|
-
title << "#{e.key}: #{e.value} "
|
|
265
|
+
title << "\n#{e.key}: #{e.value} "
|
|
266
266
|
end
|
|
267
267
|
msg = @prima.reduce_size(title, 1000).to_s.light_blue
|
|
268
268
|
menu.choice(msg) { key }
|
|
@@ -1782,6 +1782,7 @@ class Release
|
|
|
1782
1782
|
def select_branch_to_deploy(project_name, branch_name)
|
|
1783
1783
|
Dir.chdir "projects/#{project_name}"
|
|
1784
1784
|
output "Recupero il branch #{project_name}:#{branch_name} ..."
|
|
1785
|
+
`git remote prune origin`
|
|
1785
1786
|
out = %x[ git fetch ]
|
|
1786
1787
|
branch_name = %x[ git for-each-ref --sort=-committerdate refs/remotes/ --format='%(refname) %(objectname) %(committeremail)' | sed 's/refs\\/remotes\\/origin\\///g' ]
|
|
1787
1788
|
.split("\n").delete_if { |b| !b.include?(branch_name) }[0..49]
|