init auto release project
This commit is contained in:
parent
491a6cc743
commit
fb3597ad08
5
release/dist/index.js
vendored
5
release/dist/index.js
vendored
@ -33247,8 +33247,6 @@ var __webpack_exports__ = {};
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// import { Release } from "gitea-api/dist/models/release";
|
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
const host = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput("host");
|
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
|
* @param {Release[]} releases
|
||||||
* @returns {number}
|
* @returns {number}
|
||||||
*/
|
*/
|
||||||
async function getNewestRelease(releases) {
|
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) => {
|
||||||
|
@ -2,8 +2,6 @@ import core from "@actions/core";
|
|||||||
|
|
||||||
import gitea from "gitea-api";
|
import gitea from "gitea-api";
|
||||||
|
|
||||||
// import { Release } from "gitea-api/dist/models/release";
|
|
||||||
|
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
const host = core.getInput("host");
|
const host = core.getInput("host");
|
||||||
@ -35,10 +33,11 @@ async function run() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @typedef {import("gitea-api").Release} Release
|
||||||
* @param {Release[]} releases
|
* @param {Release[]} releases
|
||||||
* @returns {number}
|
* @returns {number}
|
||||||
*/
|
*/
|
||||||
async function getNewestRelease(releases) {
|
function getNewestRelease(releases) {
|
||||||
const initialVersion = core.getInput("initial-version");
|
const initialVersion = core.getInput("initial-version");
|
||||||
|
|
||||||
const semVerParser = (version) => {
|
const semVerParser = (version) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user