mirror of https://github.com/explosion/spaCy.git
13 lines
214 B
Bash
13 lines
214 B
Bash
|
#!/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
|