init auto release project
This commit is contained in:
parent
89caa353b7
commit
474ea7e326
5
release/dist/index.js
vendored
5
release/dist/index.js
vendored
@ -33286,7 +33286,10 @@ 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 = (version) => {
|
const semVerParser = (version) => {
|
||||||
return version.replace("v", "").split(".").map(parseInt);
|
return version
|
||||||
|
.replace("v", "")
|
||||||
|
.split(".")
|
||||||
|
.map((v) => parseInt(v, 10));
|
||||||
};
|
};
|
||||||
|
|
||||||
const isSemVerGreater = (a, b) => {
|
const isSemVerGreater = (a, b) => {
|
||||||
|
@ -41,7 +41,10 @@ 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(parseInt);
|
return version
|
||||||
|
.replace("v", "")
|
||||||
|
.split(".")
|
||||||
|
.map((v) => parseInt(v, 10));
|
||||||
};
|
};
|
||||||
|
|
||||||
const isSemVerGreater = (a, b) => {
|
const isSemVerGreater = (a, b) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user