Skip to content

Commit

Permalink
Enable docs generation for prereleases
Browse files Browse the repository at this point in the history
(cherry picked from commit ae986db)
  • Loading branch information
frangio committed Sep 19, 2023
1 parent abcec9e commit 9aaca67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/update-docs-branch.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ if (!match) {
process.exit(1);
}

if (/-.*$/.test(require('../package.json').version)) {
console.error('Refusing to update docs: prerelease detected');
process.exit(0);
}

const current = match.groups;
const docsBranch = `docs-v${current.major}.x`;

Expand Down

0 comments on commit 9aaca67

Please sign in to comment.