chore: fix npm nightly dist-tag (#14155)
This commit is contained in:
parent
966d776c18
commit
8b6072b411
1 changed files with 5 additions and 1 deletions
|
@ -109,7 +109,11 @@ new Promise((resolve, reject) => {
|
|||
})
|
||||
})
|
||||
.then((release) => {
|
||||
npmTag = release.prerelease ? 'beta' : 'latest'
|
||||
if (release.tag_name.indexOf('nightly') > 0) {
|
||||
npmTag = 'nightly'
|
||||
} else {
|
||||
npmTag = release.prerelease ? 'beta' : 'latest'
|
||||
}
|
||||
})
|
||||
.then(() => childProcess.execSync('npm pack', { cwd: tempDir }))
|
||||
.then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue