Skip to content

Commit

Permalink
feat: remove -hotfix on processVersion comparasion [sc-50868]
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandraGal committed Nov 1, 2024
1 parent 347b18c commit 409871e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function _tagExists(tagParts, previousVersionTags, prereleaseParts) {
}

function processVersion(version) {
let versionSplitted = version.replace("_", ".").split(".");
let versionSplitted = version.replace("-hotfix", "").replace("_", ".").split(".");
version = `${versionSplitted[0]}.${versionSplitted[1]}.${versionSplitted[2]}`;
if (!semver.valid(version)) {
return false;
Expand Down

0 comments on commit 409871e

Please sign in to comment.