Description
Your feature request related to a problem? Please describe.
Hi we installed the latest version golangci using the following command wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s latest
, with the latest commit from d57156e, this won't work anymore, could line 320 if [ -z "$version" ] then
be changed to if [ -z "$version" ] || [ "$version" = "latest" ]; then
to allow the previous command to work as it should, I suspect this might be affecting many users?
Describe the solution you'd like.
Instead of doing if [ -z "$version" ] then
on line 320, could you do if [ -z "$version" ] || [ "$version" = "latest" ]; then
?
Describe alternatives you've considered.
Alternative here would to be to update our pipelines to the new way of installing latest - wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh
but again I'm assuming this must be affecting many users.
Additional context.
Many people are using this in their pipelines and it could be affecting them negatively.
Related to #3509