From e3842d57728f3ca8f0cb3b30b3e3305a6e804e54 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Fri, 22 Nov 2024 17:35:41 -0800 Subject: [PATCH] fix: correctly extend tags to builds --- packages/toolchain/src/tasks/deploy/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/toolchain/src/tasks/deploy/mod.rs b/packages/toolchain/src/tasks/deploy/mod.rs index 7c3df3f2..0c68d636 100644 --- a/packages/toolchain/src/tasks/deploy/mod.rs +++ b/packages/toolchain/src/tasks/deploy/mod.rs @@ -89,10 +89,12 @@ async fn build_and_upload( // // Indicates the latest build to use for this environment. Used if not providing a client-side // version. - let tags = HashMap::from([ + let mut tags = HashMap::from([ (build::tags::VERSION.to_string(), version_name.to_string()), (build::tags::CURRENT.to_string(), "true".to_string()), ]); + tags.extend(build.tags.clone()); + let exclusive_tags = vec![ build::tags::VERSION.to_string(), build::tags::CURRENT.to_string(),