From 5976b9a62442b4dde4154775c8d8936e19aae757 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Thu, 21 Dec 2023 00:46:31 +0100 Subject: [PATCH] map `alpha` versions to the `next` channel/tag --- scripts/release-channel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/release-channel.js b/scripts/release-channel.js index f9804d2..9d3914f 100644 --- a/scripts/release-channel.js +++ b/scripts/release-channel.js @@ -22,6 +22,8 @@ let version = require(path.resolve(pkgPath, 'package.json')).version let match = /\d+\.\d+\.\d+-(.*)\.\d+/g.exec(version) if (match) { + // We want to release alpha to the next channel because it will be the next version + if (match === 'alpha') match = 'next' console.log(match[1]) } else { console.log('latest')