Skip to content

Commit

Permalink
docs(release): update assets with 6.9.1 [skip ci]
Browse files Browse the repository at this point in the history
## [6.9.1](v6.9.0...v6.9.1) (2022-03-20)

### Bug Fixes

* incorrect import map ref ([40355c7](40355c7))
  • Loading branch information
semantic-release-bot committed Mar 20, 2022
1 parent 82619d6 commit 9282002
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion assets/install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
set -exo pipefail
curl -fsSL https://deno.land/x/install/install.sh | sh
export __RAD_VERSION__=6.9.0
export __RAD_VERSION__=6.9.1
deno install --unstable -f -A -n rad https://deno.land/x/rad@v$__RAD_VERSION__/src/bin.ts
10 changes: 5 additions & 5 deletions assets/site/0005-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ const site: Task = {
* changedPrereqs, // AsyncIterable<WalkInfo>
* getChangedPrereqFilenames, // Promise<string>
*/
}
},
) => {
await fs.mkdirp("public");
logger.info("collecting prereq filenames");
const filenames = await getPrereqFilenames();
const html = await Promise.all(
filenames.map((filename) =>
Deno.readTextFile(filename).then((markdown) => marked(markdown))
)
),
).then((htmlSnippets) => htmlSnippets.join("\n"));
await Deno.writeTextFile("./public/index.html", html);
},
Expand Down Expand Up @@ -286,7 +286,7 @@ Well that's not _super_ helpful! Let us study each these keys, one-by-one:
| `fs` | a few sugar methods, `{ readFile, writeFile, mkdirp }` that work on strings, vs buffers, and assume utf8 for shorthand |
| `sh` | execute a shell command. see the command task section above! |
| `dependentResults` | results of `dependsOn` tasks. currently these are untyped. getting type inference here is tricky. PRs welcome! |
| `logger` | the `rad` logger! a standard `Deno` logger with the commonplace log-level methods (e.g. `.info(...)`, `.debug(...)`, etc). see [the source](https://github.com/cdaringe/rad/blob/v6.9.0/src/logger.ts) |
| `logger` | the `rad` logger! a standard `Deno` logger with the commonplace log-level methods (e.g. `.info(...)`, `.debug(...)`, etc). see [the source](https://github.com/cdaringe/rad/blob/v6.9.1/src/logger.ts) |
| `path` | a direct reference to [deno node path](https://deno.land/std/node/path.ts). this API is likely to change if Deno implements a full, proper path module |
| `task` | a reference to the internal `RadTask` |
| `iter` | `AsyncIterable` utility functions |
Expand All @@ -302,7 +302,7 @@ v8.
```bash
#!/bin/sh
# generated by deno install
exec deno run --allow-read --allow-write --allow-net --allow-env --allow-run --allow-hrtime --unstable 'https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/src/bin.ts' "$@"
exec deno run --allow-read --allow-write --allow-net --allow-env --allow-run --allow-hrtime --unstable 'https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/src/bin.ts' "$@"
```

- extract the `deno run ...` command, drop the leading `exec` and trailing `$@`,
Expand All @@ -314,7 +314,7 @@ Example:
```bash
deno \
run --inspect-brk -A --allow-run --allow-hrtime --unstable \
'https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/src/bin.ts' \
'https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/src/bin.ts' \
test
# ^ add any args of interest
```
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Rad always consumes a `rad.ts` file, such as the one shown here:

```ts
// rad.ts
import { Task, Tasks } from "https://deno.land/x/rad@v6.9.0/src/mod.ts";
import { Task, Tasks } from "https://deno.land/x/rad@v6.9.1/src/mod.ts";

// command/shell tasks
const format = `prettier --write`;
Expand Down Expand Up @@ -79,10 +79,10 @@ the [releases page](https://github.com/cdaringe/rad/releases).

| usage | install-method | install-steps |
| ------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| cli | `deno` | `deno install --unstable -f -A -n rad https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/src/bin.ts` |
| cli | `deno` | `deno install --unstable -f -A -n rad https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/src/bin.ts` |
| cli | `docker` | `docker pull cdaringe/rad` <sup>1</sup> |
| cli | `curl` | <code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/assets/install.sh \| sh</code> (versioned)<br /><code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/main/assets/install.sh \| sh</code> (latest) |
| library | `deno` | `import * as rad from https://github.com/cdaringe/rad/blob/main/v6.9.0/mod.ts` |
| cli | `curl` | <code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/assets/install.sh \| sh</code> (versioned)<br /><code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/main/assets/install.sh \| sh</code> (latest) |
| library | `deno` | `import * as rad from https://github.com/cdaringe/rad/blob/main/v6.9.1/mod.ts` |

<sup>1</sup>For docker users, consider making a nice shell alias

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// this file is auto-updated by the release process. see `rad patchInstallVersion`
// script, executed in CI by semantic release

export const version = "6.9.0";
export const version = "6.9.1";

0 comments on commit 9282002

Please sign in to comment.