manifestly 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/manifestly +1 -0
- data/lib/manifestly/repository.rb +2 -2
- data/lib/manifestly/version.rb +1 -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: 04f4cdbca60338a5eea6bf39fa9d9c951b8088c2
|
4
|
+
data.tar.gz: ba44bfaf024e14b12a2cb8e6b4d7af378eb2ceea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d4f842165bda2197f275327d86c7386515ab56d3eeb8939b806bb72dc0ec53ae6eef032580f5d938e445b02f6dd2a64912fcd191709ce9cb8c51fcc5bf3bc9e
|
7
|
+
data.tar.gz: da2ac8fc52f233c5e7f31452c245551f4954a7577c744d25e27ed7b78d7e46e071e86138a41f1365918f7f50727f75da02c3dc176723e55bbb32d3dec53fba25
|
data/exe/manifestly
CHANGED
@@ -81,7 +81,7 @@ module Manifestly
|
|
81
81
|
|
82
82
|
def make_like_just_cloned!
|
83
83
|
git.branch('master').checkout
|
84
|
-
git.fetch
|
84
|
+
git.fetch('origin', :tags => true)
|
85
85
|
git.reset_hard('origin/master')
|
86
86
|
end
|
87
87
|
|
@@ -187,7 +187,7 @@ module Manifestly
|
|
187
187
|
options[:message] ||= "no message"
|
188
188
|
|
189
189
|
existing_shas = get_shas_with_tag(tag: options[:tag])
|
190
|
-
raise(ShaAlreadyTagged) if existing_shas.
|
190
|
+
raise(ShaAlreadyTagged) if existing_shas.any?{|existing| existing.match(/#{options[:sha]}/)}
|
191
191
|
|
192
192
|
filename = get_commit_filename(options[:sha])
|
193
193
|
tag = "#{Time.now.utc.strftime("%Y%m%d-%H%M%S.%6N")}/#{::SecureRandom.hex(2)}/#{filename}/#{options[:tag]}"
|
data/lib/manifestly/version.rb
CHANGED