Skip to content

Commit

Permalink
Merge pull request #65 from QAInsights/feature/mac-version
Browse files Browse the repository at this point in the history
Fix: Version
  • Loading branch information
QAInsights authored Nov 29, 2023
2 parents bd40b3a + 2f5d2de commit d5a9b24
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cleanup_tags_releases.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#! /bin/sh

# shellcheck disable=SC2006
#for num in `gh release list 2>/dev/null | awk '{print $1}'`; do
# gh release delete "$num" -y >/dev/null
#done

for num in `gh api repos/:owner/:repo/tags | jq -r '.[].name'`; do
gh api repos/:owner/:repo/git/refs/tags/"${num}" -X DELETE >/dev/null
echo '✓ Deleted tag' "$num"
done

0 comments on commit d5a9b24

Please sign in to comment.