build: use lts/krypton to build the app for deployment

This commit is contained in:
Lance Edgar 2025-12-14 14:58:24 -06:00
parent cfe916ec72
commit 5b48fdfa09
2 changed files with 5 additions and 1 deletions

View file

@ -24,7 +24,7 @@ def release(c):
version = js['version']
# build the app, create zip archive
c.run("bash -lc 'nvm use lts/iron; npm run build'")
c.run("bash -lc 'nvm use lts/krypton; npm run build'")
os.chdir('dist')
filename = f'myweather-{version}.zip'
c.run(f'zip --recurse-paths {filename} *')