Skip to content

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

Description

@felipecrs

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

Activity

  1. samcoe commented on Feb 5, 2023

    @samcoe
    Contributor

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

  2. added
    more-info-neededMore info needed from user/contributor
    and removed on Feb 5, 2023
  3. felipecrs commented on Feb 5, 2023

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLImore-info-neededMore info needed from user/contributor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions