spaCy/bin/get-package.sh

13 lines
214 B
Bash
Raw Permalink Normal View History

2020-08-24 12:41:49 +00: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