From 3eea5eb4a5c6d05dced39672bd8c990f683df71b Mon Sep 17 00:00:00 2001 From: nicolas <48695862+merklefruit@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:53:51 +0100 Subject: [PATCH] chore: add minor script comment to remember to run on MacOS --- justfile | 2 ++ scripts/bolt-cli-tarballs.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/justfile b/justfile index 0a435e8e1..ec2b8d6ec 100644 --- a/justfile +++ b/justfile @@ -238,5 +238,7 @@ build-and-push-all-images tag='latest': @just build-and-push-image bolt-boost {{tag}} # Create tarballs for the bolt-cli binaries for all the supported platforms +# +# Note: this can be run only from MacOS devices (more info at ./scripts/bolt-cli-tarballs.sh) create-bolt-cli-tarballs: chmod +x ./scripts/bolt-cli-tarballs.sh && ./scripts/bolt-cli-tarballs.sh diff --git a/scripts/bolt-cli-tarballs.sh b/scripts/bolt-cli-tarballs.sh index f95d4a457..82382a6f1 100755 --- a/scripts/bolt-cli-tarballs.sh +++ b/scripts/bolt-cli-tarballs.sh @@ -11,7 +11,7 @@ set -eo pipefail # each tuple is in the format of "target-triple", "short-name". TARGETS=( "aarch64-apple-darwin" "arm64-darwin" # ARM apple chips (M1) - "x86_64-apple-darwin" "amd64-darwin" # Intel apple chips + "x86_64-apple-darwin" "amd64-darwin" # Intel apple chips "aarch64-unknown-linux-gnu" "arm64-linux" # ARM linux chips "x86_64-unknown-linux-gnu" "amd64-linux" # x86 linux chips )