mirror of
https://github.com/explosion/spaCy.git
synced 2025-05-30 10:43:18 +03:00
Add get-version script
This commit is contained in:
parent
7bc68913e3
commit
9b5c94fed9
12
bin/get-version.sh
Executable file
12
bin/get-version.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user