chore(scripts): skip version update for extension package
This commit is contained in:
@@ -78,8 +78,11 @@ for (const pkg of packages) {
|
|||||||
const pkgJson = JSON.parse(readFileSync(pkgPath, 'utf-8'))
|
const pkgJson = JSON.parse(readFileSync(pkgPath, 'utf-8'))
|
||||||
let pkgChanged = false
|
let pkgChanged = false
|
||||||
|
|
||||||
// Update package version
|
// Skip extension package version (it has its own versioning)
|
||||||
if (pkgJson.version !== newVersion) {
|
const isExtension = pkg === 'extension'
|
||||||
|
|
||||||
|
// Update package version (skip extension)
|
||||||
|
if (!isExtension && pkgJson.version !== newVersion) {
|
||||||
pkgJson.version = newVersion
|
pkgJson.version = newVersion
|
||||||
pkgChanged = true
|
pkgChanged = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user