spaCy/bin/get-version.sh

13 lines
218 B
Bash
Raw Permalink Normal View History

2019-08-25 13:12:36 +00: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