From 5e2f220af548dfa5a6541c90e8eb3abb39c83965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joe=CC=88l?= Date: Thu, 12 Aug 2021 19:08:58 +0200 Subject: [PATCH] fix: publish script for patch-dev --- scripts/ci/publish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ci/publish.ts b/scripts/ci/publish.ts index 65813c3c157d..3a37c95d1f34 100644 --- a/scripts/ci/publish.ts +++ b/scripts/ci/publish.ts @@ -523,8 +523,8 @@ function getSemverFromPatchBranch(version: string) { if (match) { return { - major: Number(match[0]), - minor: Number(match[1]), + major: Number(match[1]), + minor: Number(match[2]), } }