diff --git a/release/index.js b/release/index.js index 7808f52..a923060 100644 --- a/release/index.js +++ b/release/index.js @@ -41,7 +41,7 @@ async function run() { async function getNewestRelease(releases) { const initialVersion = core.getInput("initial-version"); - const semVerParser = ([major, minor, patch]) => { + const semVerParser = (version) => { return version.replace("v", "").split(".").map(parseFloat); };