Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh release create --latest=false to disable auto latest labeling #6963

Closed
felipecrs opened this issue Feb 3, 2023 · 2 comments
Closed

gh release create --latest=false to disable auto latest labeling #6963

felipecrs opened this issue Feb 3, 2023 · 2 comments
Labels
enhancement a request to improve CLI needs-user-input

Comments

@felipecrs
Copy link

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.

Additional context

N/A

@felipecrs felipecrs added the enhancement a request to improve CLI label Feb 3, 2023
@cliAutomation cliAutomation added the needs-triage needs to be reviewed label Feb 3, 2023
@samcoe
Copy link
Contributor

samcoe commented Feb 5, 2023

@felipecrs gh 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.

@samcoe samcoe added needs-user-input and removed needs-triage needs to be reviewed labels Feb 5, 2023
@felipecrs
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement a request to improve CLI needs-user-input
Projects
None yet
Development

No branches or pull requests

3 participants