init auto release project

This commit is contained in:
Adrien Beaudouin 2024-08-22 19:41:43 +02:00
parent 491a6cc743
commit fb3597ad08
2 changed files with 4 additions and 6 deletions

View File

@ -33247,8 +33247,6 @@ var __webpack_exports__ = {};
// import { Release } from "gitea-api/dist/models/release";
async function run() {
try {
const host = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput("host");
@ -33280,10 +33278,11 @@ async function run() {
/**
*
* @typedef {import("gitea-api").Release} Release
* @param {Release[]} releases
* @returns {number}
*/
async function getNewestRelease(releases) {
function getNewestRelease(releases) {
const initialVersion = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput("initial-version");
const semVerParser = (version) => {

View File

@ -2,8 +2,6 @@ import core from "@actions/core";
import gitea from "gitea-api";
// import { Release } from "gitea-api/dist/models/release";
async function run() {
try {
const host = core.getInput("host");
@ -35,10 +33,11 @@ async function run() {
/**
*
* @typedef {import("gitea-api").Release} Release
* @param {Release[]} releases
* @returns {number}
*/
async function getNewestRelease(releases) {
function getNewestRelease(releases) {
const initialVersion = core.getInput("initial-version");
const semVerParser = (version) => {