mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
fix(new_release_patch_version): fix the problem of inaccurate new_release_patch_version
This commit is contained in:
parent
3c3254030d
commit
5da0ac558e
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ module.exports = async (result) => {
|
|||
}
|
||||
|
||||
const {version, notes} = nextRelease;
|
||||
const [major, minor, patch] = version.split('.');
|
||||
const [major, minor, patch] = version.split(/\.|-|\s/g, 3);
|
||||
|
||||
// set outputs
|
||||
core.setOutput(outputs.new_release_published, 'true');
|
||||
|
|
|
|||
Loading…
Reference in a new issue