clc-promote 0.4.0.dev → 0.4.0.dev.2

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/lib/promote/git_repo.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6f45fd73d1b227a41b7cdf7875e41e1ec64e631
4
- data.tar.gz: 84006d5c54e5a894e07ff83564e07340d77fb1b8
3
+ metadata.gz: 858f93f5955bbfd889e6856666ae739e5fe83d19
4
+ data.tar.gz: 6204cb4ed661c3b3e1139e5964ffff6c040838b1
5
5
  SHA512:
6
- metadata.gz: e195cea57475fb4ed28d85710a6239b378f2e667fe8f0f6589a0ee007f4831f8f0b113acec082b2b7280f4575ebcd2f9a7b640825dd92fa981c9207398bebee8
7
- data.tar.gz: 1257b31c2149d871291f20d2610d9e1697fccea81a060823c3532b726486a6be369fe7cbb1dd18787baa6113c9d696154f10880364f158cd0639128e1634338c
6
+ metadata.gz: b3688e3a727a3131b6b383f6a32c479178422eb3ddb3063fce058df092685a8b8ac964d073d9b6edff7962a24a45fc2f95f466422a3278967908c22491f6001b
7
+ data.tar.gz: 4aa3450016b5e70303cf1d7a2ace8abb9cf2dc7d190bef881a2158f17c7ab97adfa22047c566583b2f5c52fe68ce5c9b127be64c06f3e5f638b41d53620455d2
@@ -17,7 +17,7 @@ module Promote
17
17
  end
18
18
 
19
19
  def current_tag
20
- @current_tag ||= git.tags.select { |t| t.name[/^[0-9\.]+/] }[-1]
20
+ @current_tag ||= git.tags.select { |t| t.name[/^[0-9\.]+/] }[-1] || '0.1.0'
21
21
  end
22
22
 
23
23
  def sha1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clc-promote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.dev
4
+ version: 0.4.0.dev.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud