mirror of
https://github.com/jmespath/jp
synced 2025-08-22 17:47:09 +00:00
Release binary for arm64 architecture
Signed-off-by: odidev <odidev@puresoftware.com>
This commit is contained in:
parent
ab6a085c7b
commit
bff335b51b
@ -20,6 +20,11 @@ export GOARCH=arm
|
|||||||
export GOARM=7
|
export GOARM=7
|
||||||
echo "Building for $GOOS/$GOARCH/$GOARM"
|
echo "Building for $GOOS/$GOARCH/$GOARM"
|
||||||
go build -v -o build/jp-$GOOS-$GOARCH-arm$GOARM 2> /dev/null
|
go build -v -o build/jp-$GOOS-$GOARCH-arm$GOARM 2> /dev/null
|
||||||
|
# Also build for ARM64/linux
|
||||||
|
export GOOS=linux
|
||||||
|
export GOARCH=arm64
|
||||||
|
echo "Building for $GOOS/$GOARCH"
|
||||||
|
go build -v -o build/jp-$GOOS-$GOARCH 2> /dev/null
|
||||||
# And finally we'll create a .tar.gz version for homebrew users.
|
# And finally we'll create a .tar.gz version for homebrew users.
|
||||||
cp build/jp-darwin-amd64 build/jp
|
cp build/jp-darwin-amd64 build/jp
|
||||||
cd build
|
cd build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user