comparison garcon/pypi.py @ 648:1696f0a41cfc

cm: Update npm modules and bower packages before making a release.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 16 Feb 2016 22:16:31 -0800
parents 79aefe82c6b6
children 1e543ed2bf38
comparison
equal deleted inserted replaced
647:be67fb6add5f 648:1696f0a41cfc
5 def makerelease(version, notag=False, noupload=False): 5 def makerelease(version, notag=False, noupload=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")
11 run("npm install")
12 print("Install Bower components")
13 run("bower install")
14 print("Generating FoodTruck assets")
10 run("gulp") 15 run("gulp")
11 16
12 # CHANGELOG.rst 17 # CHANGELOG.rst
13 run("invoke changelog --last %s" % version) 18 run("invoke changelog --last %s" % version)
14 19