travis: script: fix version format

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-08-05 23:19:01 +03:00
parent 6ad361b741
commit a14946d0bb
+2 -2
View File
@@ -21,8 +21,8 @@ if [[ ! -z "$TRAVIS_TAG" ]]; then
fi
pip install dist/dvc-*.whl
if [[ "$(dvc --version | tr -d '\n')" != "dvc $TRAVIS_TAG" ]]; then
echo "ERROR: 'dvc --version'$(dvc -V) doesn't match 'dvc $TRAVIS_TAG'"
if [[ "$(dvc --version)" != "$TRAVIS_TAG" ]]; then
echo "ERROR: 'dvc --version'$(dvc -V) doesn't match '$TRAVIS_TAG'"
exit 1
fi
pip uninstall -y dvc