Skip to content

Commit 10a8537

Browse files
docs: download latest ado-aw release in agent setup instructions (#362)
Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/f6e8450d-6f07-4de9-aa34-4cfcaae61f9f Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
1 parent ebc14d8 commit 10a8537

2 files changed

Lines changed: 14 additions & 20 deletions

File tree

.github/agents/ado-aw.agent.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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="0.16.0"
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"
2120
cd /tmp && grep "ado-aw-linux-x64" checksums.txt | sha256sum -c - && chmod +x /tmp/ado-aw
2221

2322
# macOS (Apple Silicon)
24-
VERSION="0.16.0"
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"
2725
cd /tmp && grep "ado-aw-darwin-arm64" checksums.txt | shasum -a 256 -c - && chmod +x /tmp/ado-aw
2826

2927
# Windows (PowerShell)
30-
$VERSION = "0.16.0"
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

src/data/init-agent.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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"
2120
cd /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"
2725
cd /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

Comments
 (0)