fix(release): lightweight tags in the snap build, version fallback, man pages for help topics, draft the 1.0.0 changelog

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 20:01:14 +02:00
1 parent 90df795abb
commit f7ed123cec
9 files changed
+100 -12

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ type Client struct {
}
// UserAgent identifies tea to instances, proxies, and server logs.
var UserAgent = "tea/" + version.Version + " (" + runtime.GOOS + "/" + runtime.GOARCH + ")"
var UserAgent = "tea/" + version.Current() + " (" + runtime.GOOS + "/" + runtime.GOARCH + ")"
type userAgentTransport struct{ base http.RoundTripper }
+1 -1
View File
@@ -135,7 +135,7 @@ func TestTransportBoundsOnlySetupAndSendsUserAgent(t *testing.T) {
require.NoError(t, err)
require.NoError(t, response.Body.Close())
}
want := "tea/" + version.Version + " (" + runtime.GOOS + "/" + runtime.GOARCH + ")"
want := "tea/" + version.Current() + " (" + runtime.GOOS + "/" + runtime.GOARCH + ")"
require.Equal(t, []string{want, want}, agents)
}