Skip to content

Commit

Permalink
chore(release): undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Oct 2, 2024
1 parent 1e86bc5 commit 181da4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"repository": "github:CartoDB/carto-api-client",
"author": "Don McCurdy <[email protected]>",
"packageManager": "[email protected]",
"version": "0.2.1-0",
"version": "0.2.1-alpha.4",
"license": "MIT",
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion scripts/postversion-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {execSync} from 'node:child_process';
*/

const branch = execSync('git rev-parse --abbrev-ref HEAD').toString().trim();
const {version} = await import('../package.json');
const {version} = await import('../package.json', {assert: {type: 'json'}});

if (branch === 'main') {
execSync(`git checkout -b 'release/${version}'`);
Expand Down

0 comments on commit 181da4d

Please sign in to comment.