prima-twig 1.0.4 → 1.0.5
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 +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0062b757112723346eef58aed6650785fb869aec44f6c5ad0c0452c3ec47edb
|
4
|
+
data.tar.gz: 27e896c9c8b91ee3dabcf327b1129701523966f638f37055885e2eaf6fd0fcda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca819130ce8c460aef9a64c78802d076ff56aa5691648190cb536250ae33ac81414751162fce0a2357b8ecfa098b751959fd9813613295cdeb0f127340f01b0a
|
7
|
+
data.tar.gz: d53479264712db71deaf35aa8b15fd8fd0447d51d5b7313d016f078155a388b3e91a3826480a3baea33bbe1067f8a10d39ee2a178350df2640a360894c3c2c3e
|
data/bin/twig-feature
CHANGED
@@ -523,7 +523,8 @@ class Release
|
|
523
523
|
|
524
524
|
update_drone_yml!
|
525
525
|
|
526
|
-
`git
|
526
|
+
`git add branch_names .drone.yml`
|
527
|
+
`git commit -m 'update'`
|
527
528
|
`git push && git checkout master`
|
528
529
|
end
|
529
530
|
|
@@ -642,7 +643,7 @@ class Release
|
|
642
643
|
def update_drone_yml!()
|
643
644
|
drone_yml = File.read('.drone.yml')
|
644
645
|
@projects.each do |key, project|
|
645
|
-
drone_yml = drone_yml.gsub(
|
646
|
+
drone_yml = drone_yml.gsub(/#{key}@.+\n/, "#{key}@#{project['revision']}\n")
|
646
647
|
end
|
647
648
|
File.open(".drone.yml", "w") do |f|
|
648
649
|
f.write(drone_yml)
|