You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh release create --latest=false to disable auto latest labeling #6963
Describe the feature or problem you’d like to solve
I'm trying to automate some releases using GitHub CLI. One feature which I miss is the ability of explicitly NOT marking a release as latest. If I omit the --latest flag, it may still be marked as latest, and I want to publish an "old" version, let's say.
Proposed solution
gh release create --latest=false to disable auto latest labeling.
@felipecrsgh release create already supports --latest=false which should have the behavior you are expecting. Did try explicitly setting the flag to false? Just have to confirm since you stated that you tried omitting it which in this case is not the same thing.
Oh, interesting. I tried before but I think it didn't work because there was no other release marked as latest, thus, I suppose at least one must exist. Thank you!
Activity
samcoe commentedon Feb 5, 2023
@felipecrs
gh release createalready supports--latest=falsewhich should have the behavior you are expecting. Did try explicitly setting the flag to false? Just have to confirm since you stated that you tried omitting it which in this case is not the same thing.felipecrs commentedon Feb 5, 2023
Oh, interesting. I tried before but I think it didn't work because there was no other release marked as latest, thus, I suppose at least one must exist. Thank you!