Update push-tag script

This commit is contained in:
Matthew Honnibal 2019-03-11 22:27:10 +01:00
parent 062934aa12
commit 70e5058d72
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ git diff-index --quiet HEAD
git checkout $1 git checkout $1
git pull origin $1 git pull origin $1
git push origin $1
version=$(grep "__version__ = " spacy/about.py) version=$(grep "__version__ = " spacy/about.py)
version=${version/__version__ = } version=${version/__version__ = }
@ -15,4 +16,4 @@ version=${version/\'/}
version=${version/\"/} version=${version/\"/}
version=${version/\"/} version=${version/\"/}
git tag "v$version" git tag "v$version"
git push origin --tags git push origin "v$version" --tags