mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 21:43:23 -05:00
docs: keep only the latest release
This commit is contained in:
1 parent
9669ae06d2
commit
f2346d6001
1 file changed
+3
-2
@@ -162,10 +162,11 @@ done
|
||||
gh release view "v${DATE}" --json assets --jq '.assets | length' # expect every file
|
||||
gh release edit "v${DATE}" --draft=false --latest
|
||||
|
||||
# 6. Keep the three most recent releases plus large-files
|
||||
# 6. Keep only the new release plus large-files: an older pack carries hashes
|
||||
# the platforms no longer check, so it misleads more than it helps
|
||||
gh release list --json tagName,createdAt \
|
||||
--jq 'sort_by(.createdAt) | reverse | .[].tagName' | grep -v '^large-files$' \
|
||||
| tail -n +4 | while read tag; do gh release delete "$tag" --yes --cleanup-tag; done
|
||||
| tail -n +2 | while read tag; do gh release delete "$tag" --yes --cleanup-tag; done
|
||||
```
|
||||
|
||||
One pack per platform, the full one: the platform's list plus everything its
|
||||
|
||||
Reference in new issue
Block a user