Browse Source

release-docs-v

release/docs
danstarns 2 years ago
parent
commit
a1349bb5cc
  1. 2
      scripts/releaseDocs.ts

2
scripts/releaseDocs.ts

@ -21,7 +21,7 @@ async function prepareCoreRelease() {
// Create a new release branch // Create a new release branch
const newVersion = JSON.parse(fs.readFileSync(`${pathLib}/package.json`, 'utf8')).version; const newVersion = JSON.parse(fs.readFileSync(`${pathLib}/package.json`, 'utf8')).version;
const newBranch = `release-v${newVersion}`; const newBranch = `release-docs-v${newVersion}`;
runCommand(`git checkout -b ${newBranch}`); runCommand(`git checkout -b ${newBranch}`);
runCommand('git add .'); runCommand('git add .');
runCommand(`git commit -m "Release GrapesJS docs ${releaseTag}: v${newVersion}"`); runCommand(`git commit -m "Release GrapesJS docs ${releaseTag}: v${newVersion}"`);

Loading…
Cancel
Save