Update extract of golangci-lint

This commit is contained in:
ViViDboarder 2023-06-12 11:07:43 -07:00
parent 56c03f30c5
commit 4c65a9dfaa

View File

@ -129,9 +129,8 @@ function install_linters() {
maybe_run release-gitter --git-url "https://github.com/golangci/golangci-lint" \
--map-system Windows=windows --map-system Linux=linux --map-system Darwin=darwin \
--map-arch x86_64=amd64 --map-arch armv7l=armv7 --map-arch aarch64=arm64 \
--extract-files golangci-lint \
--exec "'chmod +x ~/bin/golangci-lint'" \
"golangci-lint-{version}-{system}-{arch}.tar.gz" ~/bin
--extract-all --exec "mv /tmp/\$(echo {}|sed s/\.tar\.gz\$//)/golangci-lint ~/bin/" \
"golangci-lint-{version}-{system}-{arch}.tar.gz" /tmp/
fi
# Lua