Skip to content

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

Closed as not planned

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. added
    enhancement
    on Feb 3, 2023
  2. added
    needs-triage
    on Feb 3, 2023
  3. 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.

  4. added
    more-info-needed
    and removed
    needs-triage
    on Feb 5, 2023
  5. 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

    enhancementmore-info-needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions