init auto release project
This commit is contained in:
parent
149e5c6c09
commit
491a6cc743
4
release/dist/index.js
vendored
4
release/dist/index.js
vendored
@ -33286,8 +33286,8 @@ async function run() {
|
|||||||
async function getNewestRelease(releases) {
|
async function getNewestRelease(releases) {
|
||||||
const initialVersion = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput("initial-version");
|
const initialVersion = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput("initial-version");
|
||||||
|
|
||||||
const semVerParser = ([major, minor, patch]) => {
|
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