From c17563913f4aa49702142806a48fd15d510f0192 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Fri, 3 Mar 2023 11:40:53 +0100 Subject: [PATCH] Rebuild action --- dist/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 547ed97..8835ed8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -58,7 +58,7 @@ async function validateIfReleaseIsPublished(tag, octokitClient) { try { const { data: foundRelease } = await octokitClient.repos.getReleaseByTag({ ...github_1.context.repo, - tag, + tag }); if (foundRelease.prerelease) { throw new Error(`The '${foundRelease.name}' release is marked as pre-release. Updating tags for pre-release is not supported`); @@ -157,7 +157,6 @@ async function run() { await reportStatusToSlack(slackMessage); } } -; async function reportStatusToSlack(message) { const slackWebhook = core.getInput('slack-webhook'); if (slackWebhook) {