spaCy/bin/get-package.sh

13 lines
214 B
Bash
Raw Normal View History

2020-08-24 15:41:49 +03:00
#!/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