mirror of
https://github.com/Heretek-AI/openclaw-android-assistant.git
synced 2026-07-19 14:13:42 -04:00
6265368ea2
The 'Create Release' step failed with 'Argument list too long' (E2BIG). Cause: 'Generate changelog' produced a 6,399-line body that was interpolated into the softprops/action-gh-release 'body:' input, which expands onto the node process command line and exceeds ARG_MAX. Two fixes: 1. Cap the changelog to the most recent 50 commits. The previous code only capped at 20 when no previous tag existed; with a tag it emitted the full range, which on a long-lived fork includes the entire upstream history (thousands of commits since last tag). 2. Switch Create Release from 'body:' to 'body_path:' and write the body to /tmp/release-body.md. The action reads the body from a file, so the size is no longer limited by the shell's argv limit. Also dropped the now-unused 'id: changelog' and the GITHUB_OUTPUT output since the next step reads the file directly.