3.0.0 (2026-06-16)
⚠ BREAKING CHANGES
- The package is now ESM-only and must be imported rather than required. The minimum supported Node.js version is now 22.12.0. Username/password (HTTP basic auth) support has been removed, so authentication now requires a token. GitHub disabled password authentication for its API in 2020.
Features
-
add cli tool (#23)
Adds a
gh-release-assetscommand that uploads assets to an existing release given its upload URL. The token comes from the--tokenflag or theGITHUB_TOKENenvironment variable, and assets are passed as positional file paths.