Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
123456789101112131415161718192021#!/bin/bashset -o errexitset -o pipefailset -o nounset
outputIos=$(eas build:version:get -p ios)outputAndroid=$(eas build:version:get -p android)currentIosVersion=${outputIos#*buildNumber - }currentAndroidVersion=${outputAndroid#*versionCode - }
BSKY_IOS_BUILD_NUMBER=$((currentIosVersion+1))BSKY_ANDROID_VERSION_CODE=$((currentAndroidVersion+1))
# 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.export BSKY_IOS_BUILD_NUMBER BSKY_ANDROID_VERSION_CODEexec "$@"