client9 / shlib

portable functions for posix shell environments
The Unlicense
360 stars 36 forks source link

os missmatch bug trigger but this package #18

Closed ilovejs closed 4 years ago

ilovejs commented 5 years ago

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin vX.Y.Z

yield

golangci/golangci-lint crit uname_os_check 'MINGW64_NT-10.0' got converted to 'mingw64_nt-10.0' which is not a GOOS value. Please file bug at https://github.com/client9/shlib

syntaqx commented 5 years ago

🤔 Freaking MinGW man.. seems like we're never going to get ahead of it. Do you have any particular thoughts on a solution? It's currently working for me as I haven't upgraded and now I'm semi not excited to...

ungive commented 4 years ago
$ curl https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
nektos/act crit uname_os_check 'MINGW64_NT-6.1' got converted to 'mingw64_nt-6.1
' which is not a GOOS value. Please file bug at https://github.com/client9/shlib
$ curl https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
nektos/act crit uname_os_check 'MINGW64_NT-6.1-7601' got converted to 'mingw64_n
t-6.1-7601' which is not a GOOS value. Please file bug at https://github.com/cli
ent9/shlib
$ curl https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
nektos/act crit uname_os_check 'CYGWIN_NT-6.1' got converted to 'cygwin_nt-6.1' 
which is not a GOOS value. Please file bug at https://github.com/client9/shlib

These are outputs from Git Bash, MSYS2 MinGW and Cygwin64 Terminal on Windows 7. The command is taken from https://github.com/nektos/act#installation