Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
123456789101112131415161718#!/bin/bashset -o errexitset -o pipefailset -o nounset
outputIos=$(eas build:version:get -p ios)outputAndroid=$(eas build:version:get -p android)BSKY_IOS_BUILD_NUMBER=${outputIos#*buildNumber - }BSKY_ANDROID_VERSION_CODE=${outputAndroid#*versionCode - }
# Export the build-number vars and exec the wrapped command directly. Using# `exec "$@"` preserves argument boundaries; the old `bash -c "... $*"` flattened# every argument into one string that a nested shell re-parsed, which mangled# arguments containing spaces, `#`, or newlines (e.g. the multi-line `--message`# passed to `eoas publish`).export BSKY_IOS_BUILD_NUMBER BSKY_ANDROID_VERSION_CODEexec "$@"