Skip to content

Commit 25d7a50

Browse files
committed
Feedback
1 parent 989f3e8 commit 25d7a50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/skills/update-protobuf/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ from the latest proto source at
1717
- Python 3.11 must be available on the system. Verify with `py -3.11 --version`
1818
(Windows) or `python3.11 --version` (Linux/macOS). If it is not installed,
1919
stop and ask the user to install it — do **not** use a different version.
20+
- On Linux/macOS, [`jq`](https://jqlang.github.io/jq/) must be installed.
2021
- Internet access is required to download the proto file and query the GitHub
2122
API.
2223

@@ -100,7 +101,7 @@ $response[0].sha | Out-File -FilePath "durabletask/internal/PROTO_SOURCE_COMMIT_
100101
# Bash
101102
curl -s -H "Accept: application/vnd.github.v3+json" \
102103
"https://api.github.com/repos/microsoft/durabletask-protobuf/commits?path=protos/orchestrator_service.proto&sha=main&per_page=1" \
103-
| jq -r '.[0].sha' > durabletask/internal/PROTO_SOURCE_COMMIT_HASH
104+
| jq -jr '.[0].sha' > durabletask/internal/PROTO_SOURCE_COMMIT_HASH
104105
```
105106

106107
The file should contain exactly one commit hash with no trailing newline.

0 commit comments

Comments
 (0)