From b4991f673e73dbb9491db45d854c64422a775eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leif=20=C3=98deg=C3=A5rd=20Uhlen?= <126719+leifode@users.noreply.github.com> Date: Tue, 5 May 2026 11:51:26 +0200 Subject: [PATCH] fixing more issues cjs->esm --- src/handleOptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handleOptions.js b/src/handleOptions.js index 0fb2e34..cb30712 100644 --- a/src/handleOptions.js +++ b/src/handleOptions.js @@ -14,7 +14,7 @@ export const handleBranchesOption = () => { core.debug(`branches input: ${branches}`); core.debug(`branch input: ${branch}`); - const semanticVersion = import('semantic-release/package.json').version; + const { version: semanticVersion } = await import('semantic-release/package.json', { with: { type: 'json' } }); const semanticMajorVersion = Number(semanticVersion.replace(/\..+/g, '')); core.debug(`semanticMajorVersion: ${semanticMajorVersion}`);