From 9fe3810e10c95848273096bcfc85a8e000c3824b Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Fri, 14 Jun 2024 18:10:07 -0400 Subject: [PATCH] fix: properly define release variable in delete tags loop (#175) --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 3401690..954fa59 100644 --- a/action.yml +++ b/action.yml @@ -159,6 +159,7 @@ runs: if (DELETE_TAGS) { for (let i = 0; i < preReleases.length - KEEP_LATEST; i++) { + const release = preReleases[i]; console.log(`Deleting tag: ${release.tag_name}`); try { await github.rest.git.deleteRef({