From 7145fc54b97b7c9bd14eddeff23a461cf3705cc8 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 14 Dec 2023 09:31:11 +0100 Subject: [PATCH] fix(cli_: avoid updating variable when unecessary --- cli/deps.ts | 4 ++-- cli/variable.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/deps.ts b/cli/deps.ts index 166644e121..c76226b63c 100644 --- a/cli/deps.ts +++ b/cli/deps.ts @@ -1,6 +1,6 @@ // windmill -export { setClient } from "https://deno.land/x/windmill@v1.225.0/mod.ts"; -export * from "https://deno.land/x/windmill@v1.225.0/windmill-api/index.ts"; +export { setClient } from "https://deno.land/x/windmill@v1.226.1/mod.ts"; +export * from "https://deno.land/x/windmill@v1.226.1/windmill-api/index.ts"; export { SEP } from "https://deno.land/std@0.201.0/path/separator.ts"; // cliffy export { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.2/command/mod.ts"; diff --git a/cli/variable.ts b/cli/variable.ts index 09965c3a50..adda3df217 100644 --- a/cli/variable.ts +++ b/cli/variable.ts @@ -62,6 +62,7 @@ export async function pushVariable( workspace: workspace, path: remotePath.replaceAll("\\", "/"), decryptSecret: plainSecrets, + includeEncrypted: true, }); log.debug(`Variable ${remotePath} exists on remote`); } catch {