From b4a085afb9a761e11da9224285d9f416013d0886 Mon Sep 17 00:00:00 2001 From: Daniel Helfand Date: Wed, 20 Jan 2021 21:40:34 -0600 Subject: [PATCH 1/2] add docs on using homebrew tap While use of the tap is discouraged, there are times that homebrew core doesn't immediately update the formula to the latest version. This provides docs on using the tap to help get the latest released quicker through brew. --- docs/src/docs/usage/install/index.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/src/docs/usage/install/index.mdx b/docs/src/docs/usage/install/index.mdx index 686e43edfcdb..327da1cfca30 100644 --- a/docs/src/docs/usage/install/index.mdx +++ b/docs/src/docs/usage/install/index.mdx @@ -53,7 +53,14 @@ brew install golangci-lint brew upgrade golangci-lint ``` -Note: previously we use [tap](https://github.com/golangci/homebrew-tap), but it is obsoleted. We recommend using official formula instead of an obsolete tap. +Note: Previously we used a [homebrew tap](https://github.com/golangci/homebrew-tap). We recommend using official formula instead of the tap, but sometimes the most recent release +isn't immediately available via homebrew core due to manual updates that need to occur from homebrew core maintainers. In this case, the tap formula, which is updated automatically, +can be used to install the latest version of `golangci-lint`: + +``` +brew tap golangci/tap +brew install golangci/tap/golangci-lint +``` It can also be installed through [macports](https://www.macports.org/) The macports installation mode is community driven, and not officially maintained by golangci team. From a1d861b267772dd969e648bfee35cf466192f568 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Sat, 20 Feb 2021 15:44:09 +0100 Subject: [PATCH 2/2] fix: docs --- docs/src/docs/usage/install/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/docs/usage/install/index.mdx b/docs/src/docs/usage/install/index.mdx index 327da1cfca30..d7927bbe762a 100644 --- a/docs/src/docs/usage/install/index.mdx +++ b/docs/src/docs/usage/install/index.mdx @@ -57,7 +57,7 @@ Note: Previously we used a [homebrew tap](https://github.com/golangci/homebrew-t isn't immediately available via homebrew core due to manual updates that need to occur from homebrew core maintainers. In this case, the tap formula, which is updated automatically, can be used to install the latest version of `golangci-lint`: -``` +```sh brew tap golangci/tap brew install golangci/tap/golangci-lint ```