Skip to content

Commit 4e0fd36

Browse files
committed
chore: updates justfile to support aarch64
1 parent a8acc8b commit 4e0fd36

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

justfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ install:
3131
set -euo pipefail
3232
goreleaser build --clean --single-target --snapshot
3333
if [ "{{ os() }}" = "macos" ]; then
34-
cp ./dist/protoc-gen-go_temporal_darwin_amd64_v1/protoc-gen-go_temporal /usr/local/bin/
34+
if [ "{{ arch() }}" = "aarch64" ]; then
35+
cp ./dist/protoc-gen-go_temporal_darwin_arm64/protoc-gen-go_temporal /usr/local/bin
36+
else
37+
cp ./dist/protoc-gen-go_temporal_darwin_amd64_v1/protoc-gen-go_temporal /usr/local/bin/
38+
fi
3539
else
3640
cp ./dist/protoc-gen-go_temporal_linux_amd64_v1/protoc-gen-go_temporal /usr/local/bin/
3741
fi

0 commit comments

Comments
 (0)