Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 9fe3810

Browse files
fix: properly define release variable in delete tags loop (#175)
1 parent 9c6ebff commit 9fe3810

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ runs:
159159
160160
if (DELETE_TAGS) {
161161
for (let i = 0; i < preReleases.length - KEEP_LATEST; i++) {
162+
const release = preReleases[i];
162163
console.log(`Deleting tag: ${release.tag_name}`);
163164
try {
164165
await github.rest.git.deleteRef({

0 commit comments

Comments
 (0)