From 1a42231a1eeb285120b59a5fe1c29d7839b352b8 Mon Sep 17 00:00:00 2001 From: Laine Smith <39713102+lainie-ftw@users.noreply.github.com> Date: Wed, 15 Oct 2025 14:48:10 -0400 Subject: [PATCH] Add instructions re: setting the current version to 1.0 --- exercises/worker-versioning/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/exercises/worker-versioning/README.md b/exercises/worker-versioning/README.md index 1b5100c..847fc73 100644 --- a/exercises/worker-versioning/README.md +++ b/exercises/worker-versioning/README.md @@ -47,7 +47,15 @@ the complete version in the `solution` subdirectory. DeploymentName BuildId DrainageStatus CreateTime worker_versioning_demo 1.0 unspecified 17 seconds ago ``` -5. Next, kick off a Workflow by running `python starter.py a100`. You can +5. Set the current version to this first BuildId using the + `temporal worker deployment set-current-version` command, like so: + + ``` + $ temporal worker deployment set-current-version \ + --deployment-name "worker_versioning_demo" \ + --build-id "1.0" + ``` +6. Next, kick off a Workflow by running `python starter.py a100`. You can check the Temporal Web UI to ensure that it is running normally. ## Part B: Move a Pinned Workflow to a new Version