mirror of https://github.com/scrapy/scrapy.git
added envvar SCRAPY_VERSION_FROM_HG=1 to extras/makedeb.py script
This commit is contained in:
parent
7e5e00cea5
commit
841007b5c5
|
|
@ -16,7 +16,9 @@ def build(suffix):
|
|||
with open(ifn, 'w') as of:
|
||||
of.write(s)
|
||||
|
||||
check_call('debchange -m -D unstable --force-distribution -v $(python setup.py --version)-r$(hg tip --template "{rev}")+$(date +%s) "Automatic build"', shell=True)
|
||||
env={'SCRAPY_VERSION_FROM_HG': '1'}
|
||||
check_call('debchange -m -D unstable --force-distribution -v $(python setup.py --version)+$(date +%s) "Automatic build"', \
|
||||
shell=True, env=env)
|
||||
check_call('debuild -us -uc -b', shell=True)
|
||||
|
||||
def clean(suffix):
|
||||
|
|
|
|||
Loading…
Reference in New Issue