Skip to content

Homebrew version is outdated #1026

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

Closed
programmer04 opened this issue Apr 17, 2020 · 5 comments
Closed

Homebrew version is outdated #1026

programmer04 opened this issue Apr 17, 2020 · 5 comments
Labels
area: install Issue relates to installation or downloading process platform: macos Issue that is related to MacOS

Comments

@programmer04
Copy link

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!

@StevenACoffman
Copy link
Contributor

StevenACoffman commented Apr 17, 2020

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

@programmer04
Copy link
Author

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

@ernado
Copy link
Member

ernado commented Apr 20, 2020

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

@StevenACoffman
Copy link
Contributor

StevenACoffman commented Apr 20, 2020

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.

@ernado ernado mentioned this issue Apr 21, 2020
3 tasks
@ernado ernado added platform: macos Issue that is related to MacOS area: install Issue relates to installation or downloading process labels Apr 21, 2020
@ernado ernado changed the title On macOS brew does not install the newest version, stuck on v1.23.8 Homebrew version is outdated Apr 21, 2020
@ernado
Copy link
Member

ernado commented Apr 22, 2020

Should be fixed with new release.

@ernado ernado closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: install Issue relates to installation or downloading process platform: macos Issue that is related to MacOS
Projects
None yet
Development

No branches or pull requests

3 participants