Use all tags for version detection
Merge pull request #2299 from jbeda/version-fix

Use all tags for version detection