diff --git a/scripts/bumpNocodbSdkVersion.js b/scripts/bumpNocodbSdkVersion.js index c5b7f3d097..4e62217a84 100644 --- a/scripts/bumpNocodbSdkVersion.js +++ b/scripts/bumpNocodbSdkVersion.js @@ -1,6 +1,6 @@ const fs = require('fs') const path = require('path') -console.log(path.join(__dirname, '..', 'packages', 'nocodb-sdk', 'package.json')) + const packageJson = JSON.parse(fs.readFileSync(path.join(__dirname, '..', 'packages', 'nocodb-sdk', 'package.json'), 'utf8')) const version = packageJson.version .replace(/\.(\d+)$/, (_, v) => {