Skip to content

Commit

Permalink
Fix canary install url
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexagon committed Sep 25, 2024
1 parent 83f2a13 commit f888804
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
4 changes: 2 additions & 2 deletions application.meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pup/pup",
"version": "1.0.2-dev.0",
"version": "1.0.2",

"exports": {
".": "./pup.ts",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "Universal Process Manager"
},
"substitute": {
"$PUP_VERSION": "1.0.1"
"$PUP_VERSION": "1.0.2"
},
"top_links": [
{
Expand Down
4 changes: 4 additions & 0 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions lib/cli/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
17 changes: 16 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -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/[email protected]",
"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/[email protected]",
Expand Down

0 comments on commit f888804

Please sign in to comment.