version_info 0.6.0 → 0.6.1
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.
- data/lib/version_info/tasks.rb +1 -1
- data/lib/version_info/version_info.yml +1 -1
- metadata +2 -2
data/lib/version_info/tasks.rb
CHANGED
@@ -25,7 +25,7 @@ module VersionInfo
|
|
25
25
|
desc "Show current version tag and create version_info.yml if missing"
|
26
26
|
task :show do
|
27
27
|
puts target::VERSION.tag
|
28
|
-
target::VERSION.save unless File.exist?(target::VERSION.
|
28
|
+
target::VERSION.save unless File.exist?(target::VERSION.file_name)
|
29
29
|
end
|
30
30
|
|
31
31
|
VersionInfo.segments.each do |sgm|
|