Skip to content

Commit

Permalink
fix: properly define release variable in delete tags loop (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jun 14, 2024
1 parent 9c6ebff commit 9fe3810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 9fe3810

Please sign in to comment.