mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
[优化] 移除清理预发布标签工作流中的确认输入
This commit is contained in:
@@ -35,11 +35,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
CONFIRM: ${{ github.event.inputs.confirm }}
|
CONFIRM: ${{ github.event.inputs.confirm }}
|
||||||
run: |
|
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)
|
mapfile -t TAGS < <(git tag --list 'v*' | sort -V)
|
||||||
DELETED=0
|
DELETED=0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user