Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests

This commit is contained in:
Ari Lazier 2016-11-10 06:46:30 -08:00
commit e07cbf8549
3 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,5 @@
PACKAGE_NAME=realm-js
VERSION=1.0.0-BETA-1.0
REALM_SYNC_VERSION=1.0.0-BETA-3.1
VERSION=0.14.3-6
REALM_CORE_VERSION=2.1.4
REALM_SYNC_VERSION=1.0.0-BETA-3.3
REALM_OBJECT_SERVER_VERSION=1.0.0-BETA-2.1

View File

@ -36,7 +36,8 @@
"scripts",
"src",
"vendor",
"binding.gyp"
"binding.gyp",
"dependencies.list"
],
"scripts": {
"get-version": "echo $npm_package_version",

View File

@ -3,9 +3,11 @@
set -e
set -o pipefail
source_root="$(dirname "$0")"
# Set to "latest" for the latest build.
: ${REALM_CORE_VERSION:=2.1.4}
: ${REALM_SYNC_VERSION:=1.0.0-BETA-3.3}
: ${REALM_CORE_VERSION:=$(sed -n 's/^REALM_CORE_VERSION=\(.*\)$/\1/p' ${source_root}/../dependencies.list)}
: ${REALM_SYNC_VERSION:=$(sed -n 's/^REALM_SYNC_VERSION=\(.*\)$/\1/p' ${source_root}/../dependencies.list)}
if [ "$1" = '--version' ]; then
echo "$REALM_CORE_VERSION"