Optimize feedback when no tags found
This commit is contained in:
parent
93291dde7c
commit
d80a6803be
|
@ -292,12 +292,11 @@ module GitHubChangelogGenerator
|
||||||
tags.concat(page)
|
tags.concat(page)
|
||||||
end
|
end
|
||||||
print " \r"
|
print " \r"
|
||||||
if @options[:verbose]
|
|
||||||
puts "Found #{tags.count} tags"
|
|
||||||
end
|
|
||||||
|
|
||||||
if tags.count == 0
|
if tags.count == 0
|
||||||
puts "Warning: Can't find any tags in repo. Make sure, that you push tags to remote repo via 'git push --tags'".yellow
|
puts "Warning: Can't find any tags in repo. Make sure, that you push tags to remote repo via 'git push --tags'".yellow
|
||||||
|
elsif @options[:verbose]
|
||||||
|
puts "Found #{tags.count} tags"
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue
|
rescue
|
||||||
|
|
Loading…
Reference in New Issue
Block a user