diff --git a/application.meta.ts b/application.meta.ts index 4bb552c..ee12bd4 100644 --- a/application.meta.ts +++ b/application.meta.ts @@ -21,10 +21,10 @@ const Application = { name: "pup", - version: "1.0.2-dev.0", + version: "1.0.2", url: "jsr:@pup/pup@$VERSION", description: "Powerful universal process manager, designed to keep your scripts, applications and services alive.", - canary_url: "https://raw.githubusercontent.com/Hexagon/pup/dev/pup.ts", + canary_url: "https://raw.githubusercontent.com/Hexagon/pup/refs/heads/dev/pup.ts", deno: "1.44.0", /* Minimum stable version of Deno required to run Pup (without --unstable-* flags) */ deno_unstable: "1.44.0", /* Minimum version of Deno required to run Pup (with --unstable-* flags) */ repository: "https://github.com/hexagon/pup", diff --git a/deno.json b/deno.json index 691a4ce..5418068 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@pup/pup", - "version": "1.0.2-dev.0", + "version": "1.0.2", "exports": { ".": "./pup.ts", diff --git a/docs/src/_data.json b/docs/src/_data.json index d29ae73..f876f1c 100644 --- a/docs/src/_data.json +++ b/docs/src/_data.json @@ -6,7 +6,7 @@ "description": "Universal Process Manager" }, "substitute": { - "$PUP_VERSION": "1.0.1" + "$PUP_VERSION": "1.0.2" }, "top_links": [ { diff --git a/docs/src/changelog.md b/docs/src/changelog.md index 45d8671..c2bd046 100644 --- a/docs/src/changelog.md +++ b/docs/src/changelog.md @@ -9,6 +9,10 @@ nav_order: 13 All notable changes to this project will be documented in this section. +## [1.0.2] - 2024-09-25 + +- fix(core): Fix `--canary` install base url + ## [1.0.1] - 2024-09-25 - fix(core): Fix `--canary` install/upgrade option diff --git a/lib/cli/upgrade.ts b/lib/cli/upgrade.ts index a066656..3b540c4 100644 --- a/lib/cli/upgrade.ts +++ b/lib/cli/upgrade.ts @@ -197,6 +197,7 @@ export async function upgrade( } if (canaryInstall) { installCmd.push("-c", temporaryDenoJsonFilePath) + installCmd.push("--no-lock") } installCmd.push("-n", "pup") // Installed command name = pup installCmd.push(canaryInstall ? versions.canary_url : (requestedVersion as Version).url) diff --git a/versions.json b/versions.json index 4380511..684f4b6 100644 --- a/versions.json +++ b/versions.json @@ -1,6 +1,21 @@ { - "canary_url": "https://raw.githubusercontent.com/Hexagon/pup/dev/pup.ts", + "canary_url": "https://raw.githubusercontent.com/Hexagon/pup/refs/heads/dev/pup.ts", "stable": [ + { + "version": "1.0.2", + "url": "jsr:@pup/pup@1.0.2", + "deno": "1.44.0", + "deno_unstable": "1.44.0", + "default_permissions": [ + "--allow-env", + "--allow-read", + "--allow-write", + "--allow-sys=loadavg,systemMemoryInfo,osUptime,osRelease,uid,gid", + "--allow-net", + "--allow-run", + "--allow-ffi" + ] + }, { "version": "1.0.1", "url": "jsr:@pup/pup@1.0.1",