Fix version number recognition on Travis

This commit is contained in:
Sebastian Messmer 2018-09-27 16:22:58 -07:00
parent dc9cdc0143
commit 506b9c8224

View File

@ -14,7 +14,7 @@ brew cask install osxfuse
brew install libomp
# By default, travis only fetches the newest 50 commits. We need more in case we're further from the last version tag, so the build doesn't fail because it can't generate the version number.
git fetch --unshallow
git fetch --unshallow --tags
# Setup ccache
brew install ccache