mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 07:18:27 +01:00
travis: script: fix version format
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user