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)
|
2016-12-20 19:01:45 +00:00
|
|
|
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-11-15 13:08:26 +00:00
|
|
|
(cd react-native/android && ./gradlew publishAndroid -PbuildWithSync=true)
|
2016-02-11 21:21:15 +00:00
|
|
|
fi
|