init auto release project
This commit is contained in:
@ -41,7 +41,7 @@ async function run() {
|
|||||||
async function getNewestRelease(releases) {
|
async function getNewestRelease(releases) {
|
||||||
const initialVersion = core.getInput("initial-version");
|
const initialVersion = core.getInput("initial-version");
|
||||||
|
|
||||||
const semVerParser = ([major, minor, patch]) => {
|
const semVerParser = (version) => {
|
||||||
return version.replace("v", "").split(".").map(parseFloat);
|
return version.replace("v", "").split(".").map(parseFloat);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user