Skip to content

Commit

Permalink
Actually update documentation branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Nov 26, 2023
1 parent 020774d commit b3132dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions scripts/postpublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ await postReleaseComments(includedPRs, issues, newVersion);

if (!isPreRelease) {
await runWithEcho('git', ['branch', DOCUMENTATION_BRANCH, '--force', gitTag]);
await runWithEcho('git', ['push', '--force', 'origin', DOCUMENTATION_BRANCH]);
}

function createReleaseNotes(changelog, tag) {
Expand Down
4 changes: 1 addition & 3 deletions scripts/prepare-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { readJson, runAndGetStdout, runWithEcho } from './helpers.js';
import {
BROWSER_PACKAGE,
CHANGELOG,
DOCUMENTATION_BRANCH,
MAIN_BRANCH,
MAIN_LOCKFILE,
MAIN_PACKAGE
Expand Down Expand Up @@ -229,7 +228,6 @@ async function commitChanges(newVersion, gitTag, isMainBranch) {
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])
]);
}

0 comments on commit b3132dd

Please sign in to comment.