mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
17 lines
324 B
Bash
Executable File
17 lines
324 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# Insist repository is clean
|
|
git diff-index --quiet HEAD
|
|
|
|
git checkout master
|
|
git pull origin master
|
|
git push origin master
|
|
version=$(grep "__version__ = " spacy/about.py)
|
|
version=${version/__version__ = }
|
|
version=${version/\'/}
|
|
version=${version/\'/}
|
|
git tag "v$version"
|
|
git push origin --tags
|