mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-30 23:38:47 -04:00
Update package-lock.json during release process
This commit is contained in:
parent
f1c83bb838
commit
630bb03d9c
2 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,10 @@ if (! exists) {
|
|||
// Process package.json
|
||||
pkg.version = version;
|
||||
fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n");
|
||||
|
||||
// Also update package-lock.json
|
||||
childProcess.spawnSync("npm", [ "install" ]);
|
||||
|
||||
commit(version);
|
||||
tag(version);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue