From d54c400b7634c2fecd31586f20401360dd36d52a Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sun, 14 Jul 2024 12:12:21 +0200 Subject: [PATCH] Deno upgrade and attempt to fix upgrade issues --- Dockerfile | 2 +- cmd/upgrade.ts | 4 ++-- website/Deployments.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11a396ee..da6b1737 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:debian-1.44.4 +FROM denoland/deno:debian-1.45.2 # The volume that will keep the space data # Either create a volume: diff --git a/cmd/upgrade.ts b/cmd/upgrade.ts index 7e4778ce..e8cc4198 100644 --- a/cmd/upgrade.ts +++ b/cmd/upgrade.ts @@ -4,7 +4,7 @@ export async function upgradeCommand() { console.log("Now going to attempt an upgrade..."); const command = new Deno.Command("deno", { - args: ["cache", "--reload", Deno.mainModule], + args: ["cache", "--no-lock", "--reload", Deno.mainModule], stdout: "inherit", stderr: "inherit", }); @@ -17,7 +17,7 @@ export async function upgradeCommand() { "So, that's done. Now let's see if this actually did anything...", ); const vp = new Deno.Command("deno", { - args: ["run", "-A", Deno.mainModule, "version"], + args: ["run", "--no-lock", "-A", Deno.mainModule, "version"], }); const versionStatus = await vp.output(); if (!versionStatus.success) { diff --git a/website/Deployments.md b/website/Deployments.md index b8798ef4..d7a105d0 100644 --- a/website/Deployments.md +++ b/website/Deployments.md @@ -496,7 +496,7 @@ cargo install deno --locked - Now we proceed to install SilverBullet ```shell -deno install -f --name silverbullet -A https://get.silverbullet.md +deno install -f -g --name silverbullet --no-lock -A https://get.silverbullet.md ``` ### How to run SilverBullet at boot with systemd