From b47e56f7b694415b1615377063edb9290ee131d4 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Sat, 14 Apr 2012 15:03:49 +0530 Subject: [PATCH] removed version.num --- wnf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wnf.py b/wnf.py index 7450220516..d4076d1e9b 100755 --- a/wnf.py +++ b/wnf.py @@ -179,10 +179,15 @@ def run(): os.system('git status') elif options.pull: + from build.project import update_version os.system('git pull %s %s' % (options.pull[0], options.pull[1])) os.chdir('lib') os.system('git pull %s %s' % (options.pull[0], options.pull[1])) + # update js code version (clear to localStorage) + update_version() + + elif options.push: os.system('git commit -a -m "%s"' % options.push[2]) os.system('git push %s %s' % (options.push[0], options.push[1]))