Add get-version script

This commit is contained in:
Matthew Honnibal 2019-08-25 15:12:36 +02:00
parent 7bc68913e3
commit 9b5c94fed9

12
bin/get-version.sh Executable file
View File

@ -0,0 +1,12 @@
#!/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