spaCy/bin/get-version.sh
2019-08-25 15:12:36 +02:00

13 lines
218 B
Bash
Executable File

#!/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