2016-02-11 21:21:15 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -o pipefail
|
2016-03-21 18:46:34 +00:00
|
|
|
export REALM_CORE_VERSION=$(./scripts/download-core.sh --version)
|
|
|
|
echo "Core Version: $REALM_CORE_VERSION"
|
2016-02-11 21:21:15 +00:00
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
2016-03-02 23:47:51 +00:00
|
|
|
if [ -n "$REALM_BUILD_ANDROID" ]; then
|
2016-02-11 21:21:15 +00:00
|
|
|
rm -rf android
|
|
|
|
(cd react-native/android && ./gradlew publishAndroid)
|
|
|
|
fi
|