prima-twig 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-feature +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab1da87829fe624cf87e36aa18d1633eaeebbdd4df6112410d4667ce3bc85737
4
- data.tar.gz: 1142aed2ea0adb06c6889d2fb27ecddd1b44c016f0b34ebeac49c51654449fa0
3
+ metadata.gz: f0062b757112723346eef58aed6650785fb869aec44f6c5ad0c0452c3ec47edb
4
+ data.tar.gz: 27e896c9c8b91ee3dabcf327b1129701523966f638f37055885e2eaf6fd0fcda
5
5
  SHA512:
6
- metadata.gz: e442d33d4391bf9be2d8349215679329af816c3b195fe6c951910a9648a1d93cc9d74fbbfd7b184b33173458105cf7f897347da93f1efbfbc28363e490de979d
7
- data.tar.gz: 0b4b0642e6308028dc61d7da264947fcd732b8c2e3d9c6afb8e75f8795b1130f684cb1114422720cc5c31d432ede5708d1aa28ad534dbef0c1f182cd33ec4204
6
+ metadata.gz: ca819130ce8c460aef9a64c78802d076ff56aa5691648190cb536250ae33ac81414751162fce0a2357b8ecfa098b751959fd9813613295cdeb0f127340f01b0a
7
+ data.tar.gz: d53479264712db71deaf35aa8b15fd8fd0447d51d5b7313d016f078155a388b3e91a3826480a3baea33bbe1067f8a10d39ee2a178350df2640a360894c3c2c3e
@@ -523,7 +523,8 @@ class Release
523
523
 
524
524
  update_drone_yml!
525
525
 
526
- `git commit -am 'update'`
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("#{key}@.+", "#{key}@#{project['revision']}")
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prima-twig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino