mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 13:47:13 +03:00
13 lines
218 B
Bash
13 lines
218 B
Bash
|
#!/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
|