File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
.github/skills/update-protobuf Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
101102curl -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
106107The file should contain exactly one commit hash with no trailing newline.
You can’t perform that action at this time.
0 commit comments