Skip to content

Homebrew version is outdated #1026

Closed
Closed
@programmer04

Description

@programmer04

Howdy!

As in the description, there is an existing issue in the proper repository golangci/homebrew-tap#7 (here only to emphasize 😉)

It makes harder to maintain the same newest version of this amazing tool 🎉 in CI pipelines and programmers machines.

Cheers!

Activity

StevenACoffman

StevenACoffman commented on Apr 17, 2020

@StevenACoffman
Contributor

v1.23.8 is the last stable release, as with v1.24.0 there are OOM issues. See #994

programmer04

programmer04 commented on Apr 17, 2020

@programmer04
Author

Oh thanks for the answer, I was misled by readme which points to 1.24.0

ernado

ernado commented on Apr 20, 2020

@ernado
Member

Looks like a bug in @goreleaserbot, but I have no idea how to fix that.

StevenACoffman

StevenACoffman commented on Apr 20, 2020

@StevenACoffman
Contributor

You just need to run goreleaser as a user who has commit access to the https://github.com/golangci/homebrew-tap repository.

  1. Install goreleaser e.g. brew install goreleaser/tap/goreleaser
  2. You’ll need to export either a GITHUB_TOKEN environment variable, which should contain a valid GitHub token with the repo scope. It will be used to deploy releases to your GitHub repository. You can create a token here for GitHub.
$ export GITHUB_TOKEN='YOUR_GH_TOKEN'
  1. GoReleaser will use the latest Git tag of your repository. Create a tag and push it to GitHub:
$ git tag -a v1.24.1 -m "Brew Tap Release"
$ git push origin v1.24.1
  1. After releasing to GitHub or GitLab, GoReleaser can generate and publish a homebrew-tap recipe into a repository that you have access to.
$ goreleaser

goreleaserbot is the author name that is configured to be associated with the commit in the homebrew-tap repository. It does not run automatically without a maintainer manually invoking it, unless you use the github action which has not been set up yet.

added
platform: macosIssue that is related to MacOS
area: installIssue relates to installation or downloading process
on Apr 21, 2020
changed the title [-]On macOS brew does not install the newest version, stuck on v1.23.8[/-] [+]Homebrew version is outdated[/+] on Apr 21, 2020
ernado

ernado commented on Apr 22, 2020

@ernado
Member

Should be fixed with new release.

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

    area: installIssue relates to installation or downloading processplatform: macosIssue that is related to MacOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ernado@StevenACoffman@programmer04

        Issue actions

          Homebrew version is outdated · Issue #1026 · golangci/golangci-lint