mirror of https://github.com/celery/kombu.git
paver bump now supports specifying version with -C arg
This commit is contained in:
parent
196ba98d61
commit
d44e2a26f2
|
@ -82,8 +82,14 @@ def readme(options):
|
|||
|
||||
|
||||
@task
|
||||
@cmdopts([
|
||||
("custom=", "C", "custom version"),
|
||||
])
|
||||
def bump(options):
|
||||
sh("contrib/release/bump_version.py kombu/__init__.py README.rst")
|
||||
s = "-- '%s'" % (options.custom, ) \
|
||||
if getattr(options, "custom") else ""
|
||||
sh("contrib/release/bump_version.py \
|
||||
kombu/__init__.py README.rst %s" % (s, ))
|
||||
|
||||
|
||||
@task
|
||||
|
|
Loading…
Reference in New Issue