diff --git a/.gitignore b/.gitignore index 8ee54e8..9f860c6 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ coverage *.sw? *.tsbuildinfo +*~ diff --git a/tasks.py b/tasks.py index a33596f..d6b57ab 100644 --- a/tasks.py +++ b/tasks.py @@ -24,7 +24,7 @@ def release(c): version = js['version'] # build the app, create zip archive - c.run('npm run build') + c.run("bash -lc 'nvm use lts/iron; npm run build'") os.chdir('dist') filename = f'myweather-{version}.zip' c.run(f'zip --recurse-paths {filename} *')