comparison monkeys/release.py @ 435:d8a1a031ad7d 0.7.0

cm: Make invoke tasks work with the new version of invoke.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 30 Mar 2017 20:14:31 -0700
parents 41cdccd71717
children 5955eb74b1c2
comparison
equal deleted inserted replaced
434:499a7ff5c990 435:d8a1a031ad7d
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")