init auto release project
This commit is contained in:
parent
f0220c00ec
commit
1a6d18c2ee
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user