Skip to content

Commit 5f40b13

Browse files
author
anurag
committed
kep last 50
Signed-off-by: anurag <anurag@amd.com>
1 parent 3dddf03 commit 5f40b13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ jobs:
108108
- name: Delete old releases
109109
shell: bash
110110
run: |
111-
# Get all releases, skip the first 10 (keep_latest), delete the rest
112-
gh release list --limit 100 --json tagName --jq '.[10:][].tagName' | \
111+
# Get all releases, skip the first 50 (keep_latest), delete the rest
112+
gh release list --limit 200 --json tagName --jq '.[50:][].tagName' | \
113113
xargs -I {} gh release delete {} --yes
114114
env:
115115
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)