ci: dont publish same version
This commit is contained in:
parent
70413dd7b0
commit
e8556df527
1 changed files with 5 additions and 7 deletions
|
@ -87,7 +87,6 @@ async function main(arg = process.argv[2]) {
|
|||
|
||||
if (arg === 'all' || arg === 'updated') {
|
||||
for (const pkg of listPackages()) {
|
||||
if (arg === 'updated') {
|
||||
const pkgVersion = require(`../packages/${pkg}/package.json`).version
|
||||
const published = await checkVersion(pkg, pkgVersion)
|
||||
|
||||
|
@ -95,7 +94,6 @@ async function main(arg = process.argv[2]) {
|
|||
console.log('[i] %s is up to date', pkg)
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
await publishSinglePackage(pkg)
|
||||
published.push(pkg)
|
||||
|
|
Loading…
Reference in a new issue