spaCy/bin/get-version.sh

13 lines
218 B
Bash
Raw Normal View History

2019-08-25 16:12:36 +03:00
#!/usr/bin/env bash
set -e
version=$(grep "__version__ = " spacy/about.py)
version=${version/__version__ = }
version=${version/\'/}
version=${version/\'/}
version=${version/\"/}
version=${version/\"/}
echo $version