mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2026-08-21 16:13:06 +01:00
Fix syntax error
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -48206,7 +48206,7 @@ async function run() {
|
|||||||
*/
|
*/
|
||||||
async function createOrGetRelease(client, owner, repo, body) {
|
async function createOrGetRelease(client, owner, repo, body) {
|
||||||
try {
|
try {
|
||||||
console.log(`Checking for existing release at ${encodeURIComponent(body.tag)}`);
|
console.log(`Checking for existing release at ${encodeURIComponent(body.tag_name)}`);
|
||||||
let release = await client.repository.repoGetReleaseByTag({
|
let release = await client.repository.repoGetReleaseByTag({
|
||||||
owner: owner,
|
owner: owner,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
|
|||||||
2
main.js
2
main.js
@@ -70,7 +70,7 @@ async function run() {
|
|||||||
*/
|
*/
|
||||||
async function createOrGetRelease(client, owner, repo, body) {
|
async function createOrGetRelease(client, owner, repo, body) {
|
||||||
try {
|
try {
|
||||||
console.log(`Checking for existing release at ${encodeURIComponent(body.tag)}`);
|
console.log(`Checking for existing release at ${encodeURIComponent(body.tag_name)}`);
|
||||||
let release = await client.repository.repoGetReleaseByTag({
|
let release = await client.repository.repoGetReleaseByTag({
|
||||||
owner: owner,
|
owner: owner,
|
||||||
repo: repo,
|
repo: repo,
|
||||||
|
|||||||
Reference in New Issue
Block a user