mirror of https://github.com/scrapy/scrapy.git
extras/makedeb.py: no longer obtaining version from git
This commit is contained in:
parent
6cb9e1c6a0
commit
caffe0e800
|
|
@ -16,9 +16,8 @@ def build(suffix):
|
||||||
with open(ifn, 'w') as of:
|
with open(ifn, 'w') as of:
|
||||||
of.write(s)
|
of.write(s)
|
||||||
|
|
||||||
env={'SCRAPY_VERSION_FROM_GIT': '1'}
|
|
||||||
check_call('debchange -m -D unstable --force-distribution -v $(python setup.py --version)+$(date +%s) "Automatic build"', \
|
check_call('debchange -m -D unstable --force-distribution -v $(python setup.py --version)+$(date +%s) "Automatic build"', \
|
||||||
shell=True, env=env)
|
shell=True)
|
||||||
check_call('debuild -us -uc -b', shell=True)
|
check_call('debuild -us -uc -b', shell=True)
|
||||||
|
|
||||||
def clean(suffix):
|
def clean(suffix):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue