Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit a8a7273

Browse files
author
Jamie Brynes
authored
Update release QA script (#87)
1 parent 623a584 commit a8a7273

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ci/launch.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ uploadAssembly "${ASSEMBLY_PREFIX}" "${PROJECT_NAME}"
1818

1919
echo "--- 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

2227
dotnet 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

3238
CONSOLE_URL="https://console.improbable.io/projects/${PROJECT_NAME}/deployments/${ASSEMBLY_NAME}/overview"
3339

gdk.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
develop 19800e21d0cb65bc6c6546f7b6e4263de69249b6
1+
develop d3c1cf8fda5ee8fe50196cfcfb19aa33dd5a3894

0 commit comments

Comments
 (0)