comparison garcon/pypi.py @ 990:22cf13b86cc3

cm: Upgrade Garcon tasks to the latest PyInvoke version.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Nov 2017 14:29:52 -0800
parents 9231172e3d81
children 2e5c5d33d62c
comparison
equal deleted inserted replaced
989:8adc27285d93 990:22cf13b86cc3
1 from invoke import task, run 1 from invoke import task, run
2 2
3 3
4 @task 4 @task
5 def makerelease(version, local_only=False): 5 def makerelease(ctx, version, local_only=False):
6 if not version: 6 if not version:
7 raise Exception("You must specify a version!") 7 raise Exception("You must specify a version!")
8 8
9 # FoodTruck assets. 9 # FoodTruck assets.
10 print("Update node modules") 10 print("Update node modules")