Merge pull request #2288 from murgatroid99/grpc-tools_mac_tarball_fix

grpc-tools: Force GNU format for artifact tarballs
This commit is contained in:
Michael Lumish 2022-12-05 09:21:51 -08:00 committed by GitHub
commit 49f8b5e40f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -46,8 +46,14 @@ artifacts() {
platform=$1
arch=$2
dir=$3
tar -czf $out_dir/$platform-$arch.tar.gz -C $(dirname $dir) $(basename $dir)
case $(uname -s) in
Linux)
tar -czf $out_dir/$platform-$arch.tar.gz -C $(dirname $dir) $(basename $dir)
;;
Darwin)
tar --format=gnutar -czf $out_dir/$platform-$arch.tar.gz -C $(dirname $dir) $(basename $dir)
;;
esac
}
case $(uname -s) in

View File

@ -1,6 +1,6 @@
{
"name": "grpc-tools",
"version": "1.12.0",
"version": "1.12.1",
"author": "Google Inc.",
"description": "Tools for developing with gRPC on Node.js",
"homepage": "https://grpc.io/",