init auto release project
This commit is contained in:
parent
1a6d18c2ee
commit
149e5c6c09
@ -42,7 +42,7 @@ async function getNewestRelease(releases) {
|
|||||||
const initialVersion = core.getInput("initial-version");
|
const initialVersion = core.getInput("initial-version");
|
||||||
|
|
||||||
const semVerParser = (version) => {
|
const semVerParser = (version) => {
|
||||||
return version.replace("v", "").split(".").map(parseFloat);
|
return version.replace("v", "").split(".").map(parseInt);
|
||||||
};
|
};
|
||||||
|
|
||||||
const isSemVerGreater = (a, b) => {
|
const isSemVerGreater = (a, b) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user