Mercurial > wikked
view monkeys/release.py @ 445:b8db406cc5e4
web: Fix UI bugs and do a few improvements.
- Fix problems introduced by upgrading to the latest PureCSS.
- Simplify CSS/JS includes into the page.
- Add a bit of shadow to the body when the search field is focused/expanded.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 03 Jan 2018 00:58:09 -0800 |
parents | d8a1a031ad7d |
children | 5955eb74b1c2 |
line wrap: on
line source
from invoke import task, run @task def makerelease(ctx, version, local_only=False): if not version: raise Exception("You must specify a version!") # FoodTruck assets. print("Update node modules") run("npm install") print("Generating Wikked assets") run("grunt") if not local_only: # Tag in Mercurial, which will then be used for PyPi version. run("hg tag %s" % version) # PyPi upload. run("python setup.py sdist upload") else: print("Would tag repo with %s..." % version) print("Would upload to PyPi...")