Skip to content

Commit

Permalink
fix: branch detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Rossi committed Oct 10, 2020
1 parent f210a34 commit c78788f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ To install denon simply enter the following into a terminal:
### deno.land

```bash
deno install -qAf --unstable https://deno.land/x/denon@2.4.2/denon.ts
deno install -qAf --unstable https://deno.land/x/denon@2.4.4/denon.ts
```

### nest.land

```bash
deno install -qAf --unstable https://x.nest.land/denon@2.4.2/denon.ts
deno install -qAf --unstable https://x.nest.land/denon@2.4.4/denon.ts
```

> 鈿狅笍 Make sure you are using `deno` version `^1.4.0` to install this executable. You can upgrade running `deno upgrade`.
Expand Down
2 changes: 1 addition & 1 deletion assets/example.cast
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{"version": 2, "width": 61, "height": 58, "timestamp": 1598897156, "env": {"SHELL": "/bin/zsh", "TERM": "xterm-256color"}}
[0.100668, "o", "\u001b[34m[*]\u001b[39m \u001b[90m[\u001b[3mmain\u001b[23m]\u001b[39m \u001b[0mv2.4.0\u001b[0m\r\n"]
[0.100668, "o", "\u001b[34m[*]\u001b[39m \u001b[90m[\u001b[3mmain\u001b[23m]\u001b[39m \u001b[0mv2.4.4\u001b[0m\r\n"]
[0.151823, "o", "\u001b[34m[*]\u001b[39m \u001b[90m[\u001b[3mdaem\u001b[23m]\u001b[39m \u001b[0mwatching path(s): *.*\u001b[0m\r\n\u001b[34m[*]\u001b[39m \u001b[90m[\u001b[3mdaem\u001b[23m]\u001b[39m \u001b[0mwatching extensions: ts,tsx,js,jsx,json\u001b[0m\r\n"]
[0.151927, "o", "\u001b[33m[!]\u001b[39m \u001b[90m[\u001b[3m#0\u001b[23m]\u001b[39m \u001b[0mstarting `deno run --allow-env --allow-net oak.ts`\u001b[0m\r\n"]
[0.267581, "o", "Webserver listening to \u001b[32m:9001\u001b[39m\r\n"]
Expand Down
2 changes: 1 addition & 1 deletion assets/example.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion denon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ if (import.meta.main) {
);

// show version number.
if (BRANCH !== "master") {
if (BRANCH !== "main") {
logger.info(`v${VERSION}-${BRANCH}`);
} else {
logger.info(`v${VERSION}`);
Expand Down
13 changes: 7 additions & 6 deletions egg.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"name": "denon",
"description": "Monitor any changes in you Deno application and automatically restart.",
"description": "馃憖 Monitor any changes in you Deno application and automatically restart.",
"repository": "https://github.com/denosaurs/denon.git",
"stable": true,
"unlisted": false,
"version": "2.4.0",
"version": "2.4.4",
"files": [
"./assets/**/*",
"./README.md",
"./deps.ts",
"./test_deps.ts",
"./denon.ts",
"./info.ts",
"./denon.config.ts",
"./scripts.yml",
"./mod.ts",
"./templates/**/*",
"./src/**/*"
]
],
"ignore": [],
"entry": "./mod.ts",
"checkAll": true
}
2 changes: 1 addition & 1 deletion info.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2020-present the denosaurs team. All rights reserved. MIT license.

export const VERSION = "2.4.2";
export const VERSION = "2.4.4";
export const BRANCH = "main";
// export const COMPAT: { [denon: string]: string[] } = {
// "2.3.0": ["1.2.0"],
Expand Down

0 comments on commit c78788f

Please sign in to comment.