Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .claude/skills/sdk-go/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,15 @@ is copied. While 0.x, a minor may break a signature; a patch only fixes.
tagged commit's.
3. Tag the commit that holds the change by its SHA, not whatever `main` is by then. Never
create a GitHub Release for it: `release.yml` publishes the Python packages on a release.
Check its `Version` first, as below: the proxy takes a pushed tag before the workflow runs,
so a tag the workflow refuses stays public (`v0.5.0` did).

```bash
set -euo pipefail # a failed check below stops before the tag
git fetch origin
SHA=<the main commit>
git merge-base --is-ancestor "$SHA" origin/main # exits 0, else the script stops
git show "$SHA:sdks/go/stream/backend.go" | grep -q 'Version = "X.Y.Z"' # the workflow's own check
git tag sdks/go/vX.Y.Z "$SHA"
git push origin sdks/go/vX.Y.Z
```
Expand Down
2 changes: 2 additions & 0 deletions sdks/go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/GetStream/Vision-Agents/sdks/go

go 1.25.0

retract v0.5.0 // stream.Version reports 0.3.0; use v0.5.1

tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen

require (
Expand Down
2 changes: 1 addition & 1 deletion sdks/go/stream/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const (
// Version is this SDK's release, the tag sdks/go/vX.Y.Z without its v. It is written
// here by hand at each release (see the sdk-go skill), because build info reads (devel)
// for any build not fetched by tag.
Version = "0.3.0"
Version = "0.5.1"
// UserAgent is what every request says this SDK is, which is how the router's request log
// tells which SDK, and which release of it, made a call.
UserAgent = "stream-agents-go/" + Version
Expand Down
Loading