diff --git a/package.json b/package.json index 0af219e..d20afb1 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "repository": "github:CartoDB/carto-api-client", "author": "Don McCurdy ", "packageManager": "yarn@4.3.1", - "version": "0.2.1-alpha.3", + "version": "0.2.1-0", "license": "MIT", "publishConfig": { "access": "public", diff --git a/scripts/postversion-commit.js b/scripts/postversion-commit.js index d66cb7d..f95bcd4 100644 --- a/scripts/postversion-commit.js +++ b/scripts/postversion-commit.js @@ -6,7 +6,7 @@ import {execSync} from 'node:child_process'; */ const branch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim(); -const {version} = require('../package.json'); +const {version} = await import('../package.json'); if (branch === 'main') { execSync(`git checkout -b 'release/${version}'`);