mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2288 from murgatroid99/grpc-tools_mac_tarball_fix
grpc-tools: Force GNU format for artifact tarballs
This commit is contained in:
commit
49f8b5e40f
|
@ -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
|
||||
|
|
|
@ -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/",
|
||||
|
|
Loading…
Reference in New Issue