git-multirepo 1.0.0.beta61 → 1.0.0.beta62
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/multirepo/files/tracking-files.rb +5 -4
- data/lib/multirepo/info.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: d57d286739d2806d7563998045a381d73cb9b13b
|
4
|
+
data.tar.gz: '028741dbb53b6ad6058115d1d5d215843c3a5644'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64220e58063ed79cb69d19aab32f8d25acce85640f0ff9c8c797d9508d7e38ce7f5de4c2338cd41fcff4e7db11fa64cddddf956edc69f54e587e9fb4533b5a45
|
7
|
+
data.tar.gz: 5f67852514d3c79d6560df55cd2499624e0c05db6c939876d9900e4d9c3759a024fd7b274358550ca21d87691a40b063d240d15d73671f015a77d1d3cf9d0eb5
|
data/CHANGELOG.md
CHANGED
@@ -23,14 +23,15 @@ module MultiRepo
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def ensure_tool_not_outdated
|
26
|
-
|
27
|
-
|
28
|
-
fail MultiRepoException, base_message if !@meta_file.exists?
|
26
|
+
return if !@meta_file.exists?
|
29
27
|
|
28
|
+
base_message = "Can't update tracking files with an outdated version of git-multirepo."
|
30
29
|
current_version = MultiRepo::VERSION
|
31
30
|
meta_version = @meta_file.load.version
|
31
|
+
puts "CURRENT: " + current_version
|
32
|
+
puts "META: " + meta_version
|
32
33
|
outdated_tool = !VersionComparer.is_latest(current: current_version, last: meta_version)
|
33
|
-
message = base_message + "
|
34
|
+
message = base_message + " Current version is #{current_version} and repo is tracked by #{meta_version}"
|
34
35
|
|
35
36
|
fail MultiRepoException, message if outdated_tool
|
36
37
|
end
|
data/lib/multirepo/info.rb
CHANGED