Skip to content

Commit

Permalink
Update .github/scripts/before-beta-release.js
Browse files Browse the repository at this point in the history
Co-authored-by: Vlad Frangu <[email protected]>
  • Loading branch information
B4nan and vladfrangu authored Feb 10, 2025
1 parent 5b6bf3e commit 6e0b816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/before-beta-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const nextVersion = getNextVersion(VERSION);
console.log(`before-deploy: Setting version to ${nextVersion}`);
pkgJson.version = nextVersion;

fs.writeFileSync(PKG_JSON_PATH, `${JSON.stringify(pkgJson, null, 2) }\n`);
fs.writeFileSync(PKG_JSON_PATH, `${JSON.stringify(pkgJson, null, 2)}\n`);

function getNextVersion(version) {
const versionString = execSync(`npm show ${PACKAGE_NAME} versions --json`, { encoding: 'utf8'});
Expand Down

0 comments on commit 6e0b816

Please sign in to comment.