Files
zeekay 34e2e06bdf The C# client, generated from hanzo-inc/cloud@a779b8b229 (8.5.988)
Every /v1 operation the gateway serves as a typed method, generated by
hanzoai/openapi's driver from its `csharp` row (openapi-generator 7.14.0,
httpclient library). Published as `Hanzo` on nuget.org, namespace
Hanzo.AI. The repo owns the csproj, Gateway.cs (endpoint, bearer and
X-Org-Id from the environment), seven wire tests against a stub transport,
and the six flows every Hanzo SDK carries. hanzo.yml gates all three and
puts the repo on the client lane; release.yml pushes a version nuget.org
does not yet serve. scripts/dotnet installs a .NET 10 SDK where a runner
has none.
2026-11-06 12:59:19 -08:00

8 lines
294 B
Bash
Executable File

#!/bin/sh
# Print the version src/Hanzo.AI/Hanzo.AI.csproj publishes. The one reader
# of it: hanzoai/ci's cut (hanzo.yml client.version) and the release workflow
# both ask this script.
set -eu
cd "$(dirname "$0")/.."
sed -n 's:.*<Version>\(.*\)</Version>.*:\1:p' src/Hanzo.AI/Hanzo.AI.csproj