From 9aaca67aa69084bbea2593130302d92e4207a9f3 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Tue, 19 Sep 2023 16:17:35 -0300 Subject: [PATCH] Enable docs generation for prereleases (cherry picked from commit ae986db608bf06b2acb2d6f2781b24fb4daa88ce) --- scripts/update-docs-branch.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/update-docs-branch.js b/scripts/update-docs-branch.js index 4e94ba6b1a7..26922ec491d 100644 --- a/scripts/update-docs-branch.js +++ b/scripts/update-docs-branch.js @@ -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`;