The make release-promote script makes some assumptions that cause it to be brittle:
- It requires
gh to be installed, and you to be logged in to github.com. We should probably run gh auth status early and verify that it works (and give a clear error message if gh is not installed)
- It assumes the upstream remote is named upstream
- If the tag already exists it will produce an error, meaning the script is not idempotent
The
make release-promotescript makes some assumptions that cause it to be brittle:ghto be installed, and you to be logged in to github.com. We should probably rungh auth statusearly and verify that it works (and give a clear error message ifghis not installed)