906 B
906 B
Releasing
First create a prerelease to verify the relase infrastructure
git tag v1.2.3-pregit push origin v1.2.3-pre- Wait several minutes for the build to run https://github.com/cli/cli/actions
- Verify the prerelease succeeded and has the correct artifacts at https://github.com/cli/cli/releases
Next create a the production release
git tag v1.2.3git push origin v1.2.3- Wait several minutes for the build to run https://github.com/cli/cli/actions
- Check https://github.com/cli/cli/releases
- Verify the marketing site was updated https://cli.github.com/
- Delete the prerelease on GitHub https://github.com/cli/cli/releases
Release locally for debugging
A local release can be created for testing without creating anything official on the release page.
goreleaser --skip-validate --skip-publish --rm-dist- Check and test files in
dist/