diff --git a/wnf.py b/wnf.py index 74502205165..d4076d1e9b4 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]))