From 9da1ce8456484cad3f23d1d2013842c5e3cd3896 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 31 May 2026 22:04:06 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=98=E5=8C=96]=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=B8=85=E7=90=86=E9=A2=84=E5=8F=91=E5=B8=83=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD=E7=9A=84=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cleanup-prerelease-tags.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/cleanup-prerelease-tags.yml b/.github/workflows/cleanup-prerelease-tags.yml index 368f85ce..e3a04e89 100644 --- a/.github/workflows/cleanup-prerelease-tags.yml +++ b/.github/workflows/cleanup-prerelease-tags.yml @@ -35,11 +35,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} CONFIRM: ${{ github.event.inputs.confirm }} run: | - if [[ "$CONFIRM" != "cleanup-prerelease-tags" ]]; then - echo "confirm input must be exactly cleanup-prerelease-tags" >&2 - exit 1 - fi - + mapfile -t TAGS < <(git tag --list 'v*' | sort -V) DELETED=0