Add --latest=false example to release create command

This commit is contained in:
Kaan Uzdoğan 2024-05-02 11:08:37 +02:00 committed by GitHub
parent 18d8079d6f
commit 7b2bd95c9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -115,6 +115,9 @@ func NewCmdCreate(f *cmdutil.Factory, runF func(*CreateOptions) error) *cobra.Co
Use release notes from a file
$ gh release create v1.2.3 -F changelog.md
Don't mark the release as latest
$ gh release create v1.2.3 --latest=false
Upload all tarballs in a directory as release assets
$ gh release create v1.2.3 ./dist/*.tgz