This repository was archived by the owner on Oct 20, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ uploadAssembly "${ASSEMBLY_PREFIX}" "${PROJECT_NAME}"
1818
1919echo " --- Launching deployment :airplane_departure:"
2020
21+ # If the RUNTIME_VERSION env variable is already set, i.e. - through the Buildkite menu
22+ # then skip reading the file.
23+ if [[ -n $" {RUNTIME_VERSION:-}" ]]; then
24+ export RUNTIME_VERSION=" $( cat ../gdk-for-unity/workers/unity/Packages/io.improbable.gdk.tools/runtime.pinned) "
25+ fi
2126
2227dotnet run -p workers/unity/Packages/io.improbable.gdk.deploymentlauncher/.DeploymentLauncher/DeploymentLauncher.csproj -- \
2328 create \
@@ -27,7 +32,8 @@ dotnet run -p workers/unity/Packages/io.improbable.gdk.deploymentlauncher/.Deplo
2732 --launch_json_path cloud_launch.json \
2833 --snapshot_path snapshots/default.snapshot \
2934 --region EU \
30- --tags " dev_login"
35+ --tags " dev_login" \
36+ --runtime_version=" ${RUNTIME_VERSION} "
3137
3238CONSOLE_URL=" https://console.improbable.io/projects/${PROJECT_NAME} /deployments/${ASSEMBLY_NAME} /overview"
3339
Original file line number Diff line number Diff line change 1- develop 19800e21d0cb65bc6c6546f7b6e4263de69249b6
1+ develop d3c1cf8fda5ee8fe50196cfcfb19aa33dd5a3894
You can’t perform that action at this time.
0 commit comments