Compare commits

...

2 Commits

Author SHA1 Message Date
gitmpr
db76e7d6a3
Merge 94353d7fd4 into 16e4df2304 2026-03-07 13:51:58 +11:00
gitmpr
94353d7fd4 docs: resolve latest yq version dynamically in wget install example
Replaces the hardcoded version with a GitHub API lookup so the install
snippet always uses the latest release without needing manual updates.
2026-02-23 11:49:06 +01:00

View File

@ -82,9 +82,8 @@ Use wget to download pre-compiled binaries. Choose your platform and architectur
**For Linux (example):**
```bash
# Set your platform variables (adjust as needed)
VERSION=v4.2.0
PLATFORM=linux_amd64
PLATFORM=linux_amd64 # adjust as needed
VERSION=$(wget -qO- https://api.github.com/repos/mikefarah/yq/releases/latest | jq -r .tag_name)
# Download compressed binary
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/yq_${PLATFORM}.tar.gz -O - |\