Updating the config file to support goreleaser 1.21.0 (the last version which doesn't require go1.21)
At the same time, I'm adding support for building the deb & rpm packages, it would make the install easier on those systems if you don't have to manually move a binary
For the deb/rpm packages, I'm keeping the normal naming schemes (darwin / amd64 / ...). But for the .tar.gz files, I've kept the packages names as they were
dist folder, on master
~> goreleaser release --snapshot --rm-dist
• starting release...
• loading config file file=.goreleaser.yml
• loading environment variables
• getting and validating git state
• building... commit=334e3f56ded7e1872c141d121dd7f30a877e140f latest tag=v1.8.9
• pipe skipped error=disabled during snapshot mode
• parsing tag
• setting defaults
• snapshotting
• building snapshot... version=1.8.9-SNAPSHOT-334e3f5
• checking distribution directory
• --rm-dist is set, cleaning it up
• loading go mod information
• build prerequisites
• writing effective config file
• writing config=dist/config.yaml
• building binaries
• building binary=dist/grpcurl_windows_386/grpcurl.exe
• building binary=dist/grpcurl_linux_amd64_v1/grpcurl
• building binary=dist/grpcurl_linux_ppc64le/grpcurl
• building binary=dist/grpcurl_linux_arm64/grpcurl
• building binary=dist/grpcurl_darwin_arm64/grpcurl
• building binary=dist/grpcurl_linux_s390x/grpcurl
• building binary=dist/grpcurl_darwin_amd64_v1/grpcurl
• building binary=dist/grpcurl_linux_386/grpcurl
• building binary=dist/grpcurl_windows_amd64_v1/grpcurl.exe
• took: 2s
• archives
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_osx_arm64.tar.gz
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_windows_x86_32.zip
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_osx_x86_64.tar.gz
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_ppc64le.tar.gz
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_s390x.tar.gz
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_arm64.tar.gz
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_windows_x86_64.zip
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_x86_64.tar.gz
• creating archive=dist/grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_x86_32.tar.gz
• took: 3s
• calculating checksums
• storing release metadata
• writing file=dist/artifacts.json
• writing file=dist/metadata.json
• release succeeded after 5s
~> tree dist
dist
├── artifacts.json
├── config.yaml
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_checksums.txt
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_arm64.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_ppc64le.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_s390x.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_x86_32.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_linux_x86_64.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_osx_arm64.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_osx_x86_64.tar.gz
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_windows_x86_32.zip
├── grpcurl_1.8.9-SNAPSHOT-334e3f5_windows_x86_64.zip
├── grpcurl_darwin_amd64_v1
│ └── grpcurl
├── grpcurl_darwin_arm64
│ └── grpcurl
├── grpcurl_linux_386
│ └── grpcurl
├── grpcurl_linux_amd64_v1
│ └── grpcurl
├── grpcurl_linux_arm64
│ └── grpcurl
├── grpcurl_linux_ppc64le
│ └── grpcurl
├── grpcurl_linux_s390x
│ └── grpcurl
├── grpcurl_windows_386
│ └── grpcurl.exe
├── grpcurl_windows_amd64_v1
│ └── grpcurl.exe
└── metadata.json
10 directories, 22 files
Updating the config file to support goreleaser 1.21.0 (the last version which doesn't require go1.21)
At the same time, I'm adding support for building the deb & rpm packages, it would make the install easier on those systems if you don't have to manually move a binary
For the deb/rpm packages, I'm keeping the normal naming schemes (darwin / amd64 / ...). But for the .tar.gz files, I've kept the packages names as they were
dist folder, on master
dist folder, after those changes