Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions INSTALLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ first run; a formula build is never quarantined.
**Release archive**, without Homebrew:

```
VERSION=0.1.0
VERSION=0.4.0
ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
curl -sSLO "https://github.com/avison9/cdclint/releases/download/v$VERSION/cdclint_${VERSION}_darwin_${ARCH}.tar.gz"
tar -xzf "cdclint_${VERSION}_darwin_${ARCH}.tar.gz" cdclint
Expand All @@ -63,7 +63,7 @@ brew install --cask avison9/tap/cdclint
**Release archive** (any distribution, no package manager needed):

```
VERSION=0.1.0
VERSION=0.4.0
ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/')
curl -sSLO "https://github.com/avison9/cdclint/releases/download/v$VERSION/cdclint_${VERSION}_linux_${ARCH}.tar.gz"
tar -xzf "cdclint_${VERSION}_linux_${ARCH}.tar.gz" cdclint
Expand All @@ -81,7 +81,7 @@ fleet needs them; goreleaser can produce both.
**Release archive** (PowerShell):

```powershell
$Version = "0.1.0"
$Version = "0.4.0"
$Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" }
$Dir = "$env:LOCALAPPDATA\Programs\cdclint"
New-Item -ItemType Directory -Force $Dir | Out-Null
Expand Down Expand Up @@ -127,7 +127,7 @@ verifies its checksum:
sink: analytics/schema
```

Pin a version with `version: v0.1.0` if you want to control upgrades.
Pin a version with `version: v0.4.0` if you want to control upgrades.

## Docker

Expand Down
11 changes: 11 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ Check the run, then check the places a user meets it: the Release page,
`brew install --cask avison9/tap/cdclint` (the binary) on a Mac or Linux
box, and a workflow using the action.

Then bring the docs that name a version up to the new tag, in one pull
request:

- `INSTALLING.md`: the three release-archive examples (`VERSION=` twice,
`$Version =` once) and the `version:` pin example. They stayed at 0.1.0
through four releases, so the copy-paste path installed a version without
`--base`, `--disable` or `cdclint:ignore`.
- `docs/demo.tape`: change its version and re-record it with the two
commands in its header, so the README's recording downloads the release
the README describes.

## Trying the build without releasing

```
Expand Down