mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
travis: script: strip new line
This commit is contained in:
@@ -21,8 +21,8 @@ if [[ ! -z "$TRAVIS_TAG" ]]; then
|
||||
fi
|
||||
|
||||
pip install dist/dvc-*.whl
|
||||
if [[ "$(dvc --version)" != "dvc $TRAVIS_TAG" ]]; then
|
||||
echo "ERROR: 'dvc --version'($(dvc -V)) doesn't match 'dvc $TRAVIS_TAG'"
|
||||
if [[ "$(dvc --version | tr -d '\n')" != "dvc $TRAVIS_TAG" ]]; then
|
||||
echo "ERROR: 'dvc --version'$(dvc -V) doesn't match 'dvc $TRAVIS_TAG'"
|
||||
exit 1
|
||||
fi
|
||||
pip uninstall -y dvc
|
||||
|
||||
Reference in New Issue
Block a user