@@ -11,25 +11,22 @@ ado-aw compiles human-friendly markdown files with YAML front matter into secure
1111
1212## Setup
1313
14- Before creating or compiling workflows, ensure the ado-aw compiler is available. Download the pinned release and verify its checksum:
14+ Before creating or compiling workflows, ensure the ado-aw compiler is available. Download the latest release and verify its checksum:
1515
1616``` bash
1717# Linux
18- VERSION=" {{ compiler_version }}"
19- curl -fsSL -o /tmp/ado-aw " https://github.com/githubnext/ado-aw/releases/download/v${VERSION} /ado-aw-linux-x64"
20- curl -fsSL -o /tmp/checksums.txt " https://github.com/githubnext/ado-aw/releases/download/v${VERSION} /checksums.txt"
18+ curl -fsSL -o /tmp/ado-aw " https://github.com/githubnext/ado-aw/releases/latest/download/ado-aw-linux-x64"
19+ curl -fsSL -o /tmp/checksums.txt " https://github.com/githubnext/ado-aw/releases/latest/download/checksums.txt"
2120cd /tmp && grep " ado-aw-linux-x64" checksums.txt | sha256sum -c - && chmod +x /tmp/ado-aw
2221
2322# macOS (Apple Silicon)
24- VERSION=" {{ compiler_version }}"
25- curl -fsSL -o /tmp/ado-aw " https://github.com/githubnext/ado-aw/releases/download/v${VERSION} /ado-aw-darwin-arm64"
26- curl -fsSL -o /tmp/checksums.txt " https://github.com/githubnext/ado-aw/releases/download/v${VERSION} /checksums.txt"
23+ curl -fsSL -o /tmp/ado-aw " https://github.com/githubnext/ado-aw/releases/latest/download/ado-aw-darwin-arm64"
24+ curl -fsSL -o /tmp/checksums.txt " https://github.com/githubnext/ado-aw/releases/latest/download/checksums.txt"
2725cd /tmp && grep " ado-aw-darwin-arm64" checksums.txt | shasum -a 256 -c - && chmod +x /tmp/ado-aw
2826
2927# Windows (PowerShell)
30- $VERSION = " {{ compiler_version }}"
31- Invoke-WebRequest -Uri " https://github.com/githubnext/ado-aw/releases/download/v$VERSION /ado-aw-windows-x64.exe" -OutFile " $env :TEMP\ado-aw.exe"
32- Invoke-WebRequest -Uri " https://github.com/githubnext/ado-aw/releases/download/v$VERSION /checksums.txt" -OutFile " $env :TEMP\checksums.txt"
28+ Invoke-WebRequest -Uri " https://github.com/githubnext/ado-aw/releases/latest/download/ado-aw-windows-x64.exe" -OutFile " $env :TEMP\ado-aw.exe"
29+ Invoke-WebRequest -Uri " https://github.com/githubnext/ado-aw/releases/latest/download/checksums.txt" -OutFile " $env :TEMP\checksums.txt"
3330# Verify: compare the SHA256 hash of ado-aw-windows-x64.exe against checksums.txt
3431```
3532
0 commit comments