Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2.11] Update goreleaser to build .tar.gz for linux, .zip for windows (
#6365) There is no point in building .tar.gz. for windows and .zip for linux. When .tar.gz. was added in #1589 goreleaser did not have a feature to override the archive. Now it does(found it in https://github.com/golangci/golangci-lint/blob/master/.golangci.yml) ## Test plan: ``` # goreleaser release --snapshot --clean -f .goreleaser.yml # find dist/ -name '*.zip' -or -name '*.tar.gz' | sort dist/nats-server-v2.11.0-dev-darwin-amd64.tar.gz dist/nats-server-v2.11.0-dev-darwin-arm64.tar.gz dist/nats-server-v2.11.0-dev-freebsd-amd64.tar.gz dist/nats-server-v2.11.0-dev-linux-386.tar.gz dist/nats-server-v2.11.0-dev-linux-amd64.tar.gz dist/nats-server-v2.11.0-dev-linux-arm64.tar.gz dist/nats-server-v2.11.0-dev-linux-arm6.tar.gz dist/nats-server-v2.11.0-dev-linux-arm7.tar.gz dist/nats-server-v2.11.0-dev-linux-mips64le.tar.gz dist/nats-server-v2.11.0-dev-linux-ppc64le.tar.gz dist/nats-server-v2.11.0-dev-linux-s390x.tar.gz dist/nats-server-v2.11.0-dev-windows-386.zip dist/nats-server-v2.11.0-dev-windows-amd64.zip dist/nats-server-v2.11.0-dev-windows-arm64.zip dist/nats-server-v2.11.0-dev-windows-arm6.zip dist/nats-server-v2.11.0-dev-windows-arm7.zip ``` Signed-off-by: Alex Bozhenko <[email protected]>
- Loading branch information