Commit 284000c
committed
fix: handle empty releases list in draft cleanup step
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". Add `|| true` to gracefully handle this case.1 parent 97c77b4 commit 284000c
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| |||
0 commit comments