gh release upload v1.1.0 dist/app.zip --clobber

Category: GitHub CLI

gh release upload v1.1.0 dist/app.zip --clobber

Upload an asset replacing same-name files

Attaches dist/app.zip to release v1.1.0, and --clobber overwrites any existing asset with the same filename instead of erroring. Re-uploading without --clobber fails if the name is taken. Assets are the downloadable binaries, archives, and checksums of a release.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.