mirror of
https://gitea.com/actions/gitea-release-action.git
synced 2026-10-02 18:16:06 +03:00
Fix syntax error
This commit is contained in:
1 parent
fad97e6094
commit
d752d339f3
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -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,
|
||||||
|
|||||||
@@ -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