mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Bump for 4.0.5
This commit is contained in:
@@ -36,10 +36,12 @@ function generateScript() {
|
||||
packages.forEach(name => {
|
||||
const tarName = name.replace(/@/,"").replace(/\//,"-")
|
||||
lines.push(`npm publish ${tarName}-${version}.tgz ${tagArg}\n`);
|
||||
if (updateNextToLatest) {
|
||||
lines.push(`npm dist-tag add ${name}@${version} next\n`);
|
||||
}
|
||||
})
|
||||
if (updateNextToLatest) {
|
||||
packages.forEach(name => {
|
||||
lines.push(`npm dist-tag add ${name}@${version} next\n`);
|
||||
})
|
||||
}
|
||||
resolve(lines.join(""))
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user