prima-twig 0.31.13 → 0.31.14
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 +5 -4
- data/bin/twig-open-pr +0 -1
- data/bin/twig-pick-issue +1 -2
- 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: 10dfb34594a4e1e2fffa2ddc3bf227d5c1ef470e
|
|
4
|
+
data.tar.gz: 40a039ec128d917038dd1c945d9c0905d3370994
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e46a42223de5b4ab5dd5bdf8974a49d7c464528089e25766d7bbe7b9a4541bf8757ead3af4f60544e7050bdea28b13871639db03a90034ddff76d305236315e
|
|
7
|
+
data.tar.gz: dfc8b0cdcda784056370b4b44e632f96e70ba5281f3eb33ffbc944ba8682649091585b3c1139fe0449c34394084dd33ae777e4e8dc51d68059e6ee155fd890bb
|
data/bin/twig-feature
CHANGED
|
@@ -1342,7 +1342,8 @@ class Release
|
|
|
1342
1342
|
mix phx.digest && \
|
|
1343
1343
|
mix deps.clean --all && \
|
|
1344
1344
|
mix deps.get && \
|
|
1345
|
-
mix compile && mix release --env=qa'"
|
|
1345
|
+
mix compile && mix release --env=qa'",
|
|
1346
|
+
'docker-compose down'
|
|
1346
1347
|
].each do |cmd|
|
|
1347
1348
|
execute_command cmd
|
|
1348
1349
|
end
|
|
@@ -1773,7 +1774,7 @@ class Release
|
|
|
1773
1774
|
Dir.chdir "projects/#{project_name}"
|
|
1774
1775
|
output "Recupero il branch #{project_name}:#{branch_name} ..."
|
|
1775
1776
|
out = %x[ git fetch ]
|
|
1776
|
-
branch_name = %x[ git for-each-ref --sort=-committerdate refs/remotes/ --format='%(refname) %(objectname)' | sed 's/refs\\/remotes\\/origin\\///g' ]
|
|
1777
|
+
branch_name = %x[ git for-each-ref --sort=-committerdate refs/remotes/ --format='%(refname) %(objectname) %(committeremail)' | sed 's/refs\\/remotes\\/origin\\///g' ]
|
|
1777
1778
|
.split("\n").delete_if { |b| !b.include?(branch_name) }[0..49]
|
|
1778
1779
|
.first
|
|
1779
1780
|
|
|
@@ -1781,8 +1782,8 @@ class Release
|
|
|
1781
1782
|
|
|
1782
1783
|
name = branch_name.split(' ')[0]
|
|
1783
1784
|
revision = branch_name.split(' ')[1]
|
|
1784
|
-
|
|
1785
|
-
{ name: name, revision: revision[0..14] }
|
|
1785
|
+
committer_email = branch_name.split(' ')[2].tr('<>', '')
|
|
1786
|
+
{ name: name, revision: revision[0..14], committer: committer_email }
|
|
1786
1787
|
end
|
|
1787
1788
|
|
|
1788
1789
|
def is_branch_compatible_with_current_twig_version?(project)
|
data/bin/twig-open-pr
CHANGED
data/bin/twig-pick-issue
CHANGED
|
@@ -33,7 +33,6 @@ if args.include?('--help')
|
|
|
33
33
|
exit
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
|
|
37
36
|
class PickIssue
|
|
38
37
|
include Command
|
|
39
38
|
|
|
@@ -64,7 +63,7 @@ class PickIssue
|
|
|
64
63
|
issue_number = choose_issue issues
|
|
65
64
|
end
|
|
66
65
|
|
|
67
|
-
issue_type =
|
|
66
|
+
issue_type = 'feature'
|
|
68
67
|
base_branch_name_default = 'master'
|
|
69
68
|
branch_name = ask('Inserisci il nome del branch (puoi omettere feature/): '.cyan)
|
|
70
69
|
if branch_name.length == 0
|