1
0
Fork 0
mirror of synced 2024-06-29 19:41:03 +12:00

Fix pro versioning on release

This commit is contained in:
Adria Navarro 2023-05-05 15:55:16 +01:00
parent c2a1cb5e0c
commit 67bd995aad

View file

@ -26,6 +26,11 @@ Object.keys(data).forEach(workspace => {
// Loop through each dependency and update its version in package.json
const packageJsonPath = path.join(data[workspace].location, "package.json")
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"))
if (packageJson.version !== "0.0.1") {
// Don't change if we are not using local versions
return
}
let hasChanges = false
if (packageJson.dependencies["@budibase/pro"]) {