Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit ca2abb6

Browse files
authored
Worker sdk upgrade (#1208)
* Update init script to get sdk version from separate file * Update versioning scheme of Worker SDK packages * Update shared-ci.pinned temp, supporting worker sdk versioning change * Upgrade Worker SDK to 14.1.0 * Upgrade to 14.2.1 * Changelog
1 parent 529f74d commit ca2abb6

File tree

10 files changed

+17
-14
lines changed

10 files changed

+17
-14
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
### Changed
1616

1717
- Generated Worker ID's for local development are now smaller and easier to read for debugging. [#1197](https://github.com/spatialos/gdk-for-unity/pull/1197)
18+
- Upgraded to Worker SDK 14.2.1. [#1208](https://github.com/spatialos/gdk-for-unity/pull/1208)
19+
- Versioning scheme for the SDK and Mobile SDK packages have now changed to align with the GDK for Unity version.
1820

1921
### Fixed
2022

ci/shared-ci.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
master 16af8b4696032d897ba4d8075eaa61355f06f488
1+
master a6c1fcd9562bf40160214acddc7e1a732a66faf4

init.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $SdkPath = $PkgRoot + "/io.improbable.worker.sdk"
55
$SdkMobilePath = $PkgRoot + "/io.improbable.worker.sdk.mobile"
66
$TestSdkPath="test-project/Packages/io.improbable.worker.sdk.testschema"
77

8-
$SdkVersion = Get-Content ($SdkPath + "/package.json") | jq -r '.version'
8+
$SdkVersion = Get-Content ($SdkPath + "/.sdk.version")
99
$SpotVersion = Get-Content ($SdkPath + "/.spot.version")
1010

1111
function UpdatePackage($type, $identifier, $path, $removes)

init.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SDK_PATH="${PKG_ROOT}/io.improbable.worker.sdk"
88
SDK_MOBILE_PATH="${PKG_ROOT}/io.improbable.worker.sdk.mobile"
99
TEST_SDK_PATH="test-project/Packages/io.improbable.worker.sdk.testschema"
1010

11-
SDK_VERSION="$(cat "${SDK_PATH}"/package.json | jq -r '.version')"
11+
SDK_VERSION="$(cat "${SDK_PATH}"/.sdk.version)"
1212
SPOT_VERSION="$(cat "${SDK_PATH}"/.spot.version)"
1313

1414
update_package() {
@@ -36,7 +36,7 @@ update_package worker_sdk c-dynamic-x86_64-gcc510-linux "${SDK_PATH}/Plugins/Imp
3636
update_package worker_sdk c-bundle-x86_64-clang-macos "${SDK_PATH}/Plugins/Improbable/Core/OSX"
3737
update_package worker_sdk c-dynamic-x86_64-vc140_mt-win32 "${SDK_PATH}/Plugins/Improbable/Core/Windows/x86_64" "improbable_worker.lib"
3838

39-
update_package worker_sdk csharp_cinterop "${SDK_PATH}/Plugins/Improbable/Sdk/Common" "Improbable.Worker.CInterop.pdb"
39+
update_package worker_sdk csharp_cinterop "${SDK_PATH}/Plugins/Improbable/Sdk/Common"
4040

4141
update_package schema standard_library "${SDK_PATH}/.schema"
4242
update_package schema test_schema_library "${TEST_SDK_PATH}/.schema"
@@ -48,11 +48,11 @@ update_spot spot-win64 "${SDK_PATH}/.spot/spot.exe"
4848
update_spot spot-macos "${SDK_PATH}/.spot/spot"
4949

5050
#Update Mobile SDK
51-
update_package worker_sdk c-static-fullylinked-arm-clang-ios "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/iOS/arm" "improbable_worker_static.lib;libimprobable_worker_static.a.pic"
52-
update_package worker_sdk c-static-fullylinked-x86_64-clang-ios "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/iOS/x86_64" "improbable_worker_static.lib;libimprobable_worker_static.a.pic"
51+
update_package worker_sdk c-static-fullylinked-arm-clang-ios "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/iOS/arm" "libimprobable_worker_static.a.pic"
52+
update_package worker_sdk c-static-fullylinked-x86_64-clang-ios "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/iOS/x86_64" "libimprobable_worker_static.a.pic"
5353

5454
update_package worker_sdk c-dynamic-arm64v8a-clang_ndk16b-android "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/Android/arm64"
5555
update_package worker_sdk c-dynamic-armv7a-clang_ndk16b-android "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/Android/armv7"
5656
update_package worker_sdk c-dynamic-x86-clang_ndk16b-android "${SDK_MOBILE_PATH}/Plugins/Improbable/Core/Android/x86"
5757

58-
update_package worker_sdk csharp_cinterop_static "${SDK_MOBILE_PATH}/Plugins/Improbable/Sdk/iOS" "Improbable.Worker.CInteropStatic.pdb"
58+
update_package worker_sdk csharp_cinterop_static "${SDK_MOBILE_PATH}/Plugins/Improbable/Sdk/iOS"

spatialos.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "unity_gdk",
33
"project_version": "0.0.1",
4-
"sdk_version": "14.0.2",
4+
"sdk_version": "14.2.1",
55
"dependencies": [
6-
{"name": "standard_library", "version": "14.0.2"}
6+
{"name": "standard_library", "version": "14.2.1"}
77
]
88
}

workers/unity/Packages/io.improbable.gdk.core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Core Module.",
88
"dependencies": {
9-
"io.improbable.worker.sdk": "14.0.2",
9+
"io.improbable.worker.sdk": "0.2.10",
1010
"io.improbable.gdk.tools": "0.2.10",
1111
"io.improbable.gdk.testutils": "0.2.10",
1212
"com.unity.entities": "0.1.1-preview"

workers/unity/Packages/io.improbable.gdk.mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"description": "SpatialOS GDK Mobile Support Module.",
88
"dependencies": {
99
"io.improbable.gdk.core": "0.2.10",
10-
"io.improbable.worker.sdk.mobile": "14.0.2",
10+
"io.improbable.worker.sdk.mobile": "0.2.10",
1111
"com.unity.modules.androidjni": "1.0.0"
1212
}
1313
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "io.improbable.worker.sdk.mobile",
33
"displayName": "SpatialOS Worker Mobile SDK",
4-
"version": "14.0.2",
4+
"version": "0.2.10",
55
"unity": "2019.2",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS Worker Mobile SDK.",
88
"dependencies": {
9-
"io.improbable.worker.sdk": "14.0.2"
9+
"io.improbable.worker.sdk": "0.2.10"
1010
}
1111
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
14.2.1

workers/unity/Packages/io.improbable.worker.sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "io.improbable.worker.sdk",
33
"displayName": "SpatialOS Worker SDK",
4-
"version": "14.0.2",
4+
"version": "0.2.10",
55
"unity": "2019.2",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS Worker SDK.",

0 commit comments

Comments
 (0)