These days Realm Sync for Linux has a new home. (#1850)

* These days Realm Sync for Linux has a new home.
* Ignore flavor for Linux builds
This commit is contained in:
Kenneth Geisshirt 2018-06-07 14:45:16 +02:00 committed by GitHub
parent d8e41fa469
commit 7ff4a05a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,7 @@ X.Y.Z Release notes
* [Sync] Fixed a bug which crash query-based Realms. A bug in gcc's optimizer will generate code which in some case will lead to a memory violation and eventually a segmentation fault. * [Sync] Fixed a bug which crash query-based Realms. A bug in gcc's optimizer will generate code which in some case will lead to a memory violation and eventually a segmentation fault.
### Internal ### Internal
* Changed download URL for Linux binaries (`scripts/download-realm.js`).
* Upgraded to Realm Sync v3.5.1. * Upgraded to Realm Sync v3.5.1.
* Realm Core v5.6.0. * Realm Core v5.6.0.
* Realm Sync v3.5.1. * Realm Sync v3.5.1.

View File

@ -192,9 +192,12 @@ function getSyncRequirements(dependencies, options, required = {}) {
}); });
} }
case 'linux': case 'linux':
// flavor is ignored since we only publish Release mode
required.SYNC_ARCHIVE = `realm-sync-Release-v${dependencies.REALM_SYNC_VERSION}-Linux-devel.tar.gz`; required.SYNC_ARCHIVE = `realm-sync-Release-v${dependencies.REALM_SYNC_VERSION}-Linux-devel.tar.gz`;
return getCoreRequirements(dependencies, options, required) return getCoreRequirements(dependencies, options, required)
.then(() => { .then(() => getSyncCommitSha(dependencies.REALM_SYNC_VERSION))
.then(sha => {
required.SYNC_SERVER_FOLDER += `/sha-version/${sha}`;
return required; return required;
}); });
default: default: