mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Update the publish command, so that it creates a git tag
This commit is contained in:
parent
5fa18e4f9d
commit
9431441544
9
fabfile.py
vendored
9
fabfile.py
vendored
|
@ -61,11 +61,14 @@ def docs():
|
|||
with lcd(path.join(path.dirname(__file__), 'docs')):
|
||||
local('make html')
|
||||
|
||||
def publish():
|
||||
def publish(version):
|
||||
with virtualenv(VENV_DIR):
|
||||
local('python setup.py register')
|
||||
local('twine upload dist/*.tar.gz')
|
||||
local('git push origin master')
|
||||
local('git tag -a %s' % version)
|
||||
local('git push origin %s' % version)
|
||||
local('python setup.py sdist')
|
||||
local('python setup.py register')
|
||||
local('twine upload dist/%s.tar.gz' % version)
|
||||
|
||||
|
||||
def env(lang="python2.7"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user