mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-05-14 04:20:33 +00:00
fixing more issues cjs->esm
This commit is contained in:
parent
b4991f673e
commit
ec612c7039
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ export const handleBranchesOption = () => {
|
|||
core.debug(`branches input: ${branches}`);
|
||||
core.debug(`branch input: ${branch}`);
|
||||
|
||||
const { version: semanticVersion } = await import('semantic-release/package.json', { with: { type: 'json' } });
|
||||
const semanticVersion = await import('semantic-release/package.json', { with: { type: 'json' } }).version;
|
||||
const semanticMajorVersion = Number(semanticVersion.replace(/\..+/g, ''));
|
||||
core.debug(`semanticMajorVersion: ${semanticMajorVersion}`);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue