From dfdc409ee5d79d0fe95d1426eccaf8b217ca36be Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Fri, 3 Jan 2025 17:52:29 +0100 Subject: [PATCH] chore: another try --- .github/scripts/package-version.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/scripts/package-version.js b/.github/scripts/package-version.js index 5b6ac3cad06..4341a866fe8 100644 --- a/.github/scripts/package-version.js +++ b/.github/scripts/package-version.js @@ -5,11 +5,7 @@ const RELEASE = process.env.RELEASE === 'true'; const PRE_RELEASE = process.env.PRE_RELEASE === 'true'; const GITHUB_SHA = process.env.GITHUB_SHA; -function getSemverVersion(tag) { - return findVersions(tag); -} - -const SEMVER_VERSION = getSemverVersion(TAG); +const SEMVER_VERSION = findVersions(TAG).toString(); if (RELEASE) { if (SEMVER_VERSION.includes('-')) {