Skip to content

Commit

Permalink
Disable documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed May 21, 2023
1 parent 020ccc3 commit fba14ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const MAIN_PACKAGE = 'package.json';
const MAIN_LOCKFILE = 'package-lock.json';
const BROWSER_PACKAGE = 'browser/package.json';
const CHANGELOG = 'CHANGELOG.md';
const DOCUMENTATION_BRANCH = 'documentation-published';
// const DOCUMENTATION_BRANCH = 'documentation-published';

const [gh, currentBranch] = await Promise.all([
getGithubApi(),
Expand Down Expand Up @@ -293,8 +293,8 @@ async function commitChanges(newVersion, gitTag, isMainBranch) {
]);
await runWithEcho('git', ['commit', '-m', newVersion]);
await Promise.all([
runWithEcho('git', ['tag', gitTag]),
isMainBranch && runWithEcho('git', ['branch', DOCUMENTATION_BRANCH, '--force', gitTag])
runWithEcho('git', ['tag', gitTag])
// isMainBranch && runWithEcho('git', ['branch', DOCUMENTATION_BRANCH, '--force', gitTag])
]);
}

Expand All @@ -317,8 +317,8 @@ function releasePackages(newVersion) {
function pushChanges(gitTag) {
return Promise.all([
runWithEcho('git', ['push', 'origin', 'HEAD']),
runWithEcho('git', ['push', 'origin', gitTag]),
isMainBranch && runWithEcho('git', ['push', '--force', 'origin', DOCUMENTATION_BRANCH])
runWithEcho('git', ['push', 'origin', gitTag])
// isMainBranch && runWithEcho('git', ['push', '--force', 'origin', DOCUMENTATION_BRANCH])
]);
}

Expand Down

0 comments on commit fba14ad

Please sign in to comment.