spaCy/bin/get-package.sh
2020-08-24 14:41:49 +02:00

13 lines
214 B
Bash
Executable File

#!/usr/bin/env bash
set -e
version=$(grep "__title__ = " spacy/about.py)
version=${version/__title__ = }
version=${version/\'/}
version=${version/\'/}
version=${version/\"/}
version=${version/\"/}
echo $version