Golangci-lint: Homebrew version is outdated

Created on 17 Apr 2020  路  5Comments  路  Source: golangci/golangci-lint

Howdy!

As in the description, there is an existing issue in the proper repository https://github.com/golangci/homebrew-tap/issues/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!

install macOS

All 5 comments

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

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

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

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鈥檒l 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.

Should be fixed with new release.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grongor picture grongor  路  4Comments

cyriltovena picture cyriltovena  路  5Comments

KeepMasterBranch picture KeepMasterBranch  路  3Comments

kipply picture kipply  路  4Comments

alessio picture alessio  路  4Comments