mirror of https://github.com/explosion/spaCy.git
Add branch option to push-tag script
This commit is contained in:
parent
6ea981c839
commit
48ed1ca29d
|
@ -5,8 +5,8 @@ set -e
|
||||||
# Insist repository is clean
|
# Insist repository is clean
|
||||||
git diff-index --quiet HEAD
|
git diff-index --quiet HEAD
|
||||||
|
|
||||||
git checkout master
|
git checkout $1
|
||||||
git pull origin master
|
git pull origin $1
|
||||||
version=$(grep "__version__ = " spacy/about.py)
|
version=$(grep "__version__ = " spacy/about.py)
|
||||||
version=${version/__version__ = }
|
version=${version/__version__ = }
|
||||||
version=${version/\'/}
|
version=${version/\'/}
|
||||||
|
|
Loading…
Reference in New Issue