fix: handle empty releases list in draft cleanup step (#578)

When a new project has no releases yet, `gh api repos/{owner}/{repo}/releases`
returns empty JSON, causing `xargs` to fail with exit code 123:
"unexpected end of JSON input". 
use xargs -r instead of explicit empty check for draft cleanup
This commit is contained in:
ilya
2026-03-25 11:41:06 +00:00
committed by Jakub Chrzanowski
parent e5cd90b3aa
commit cbbad2beac
2 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,10 @@
## [2.4.1] - 2026-03-20
### Fixed
- GitHub Actions: handle empty releases list in draft cleanup step using `xargs -r`
### Changed
- Upgrade Gradle Wrapper to `9.4.1`