--prerelease marks the release as a release candidate so it is not flagged as the latest stable version, and the file arguments upload dist/*.tar.gz as assets. Prereleases stay clearly labeled in the releases list. Promote later with gh release edit --latest.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.