Skip to content

Commit

Permalink
chore: prepare for 0.1.17 release (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlymar authored May 23, 2024
1 parent 7b40cb7 commit fe17f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion knock/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func NewClient(opts ...ClientOption) (*Client, error) {
// do makes an HTTP request and populates the given struct v from the response.
func (c *Client) do(ctx context.Context, req *http.Request, v interface{}) ([]byte, error) {
req = req.WithContext(ctx)
req.Header.Set("User-Agent", fmt.Sprintf("knocklabs/go@%s", internal.SDKVersion))
req.Header.Set("User-Agent", fmt.Sprintf("Knock/Go v%s", internal.SDKVersion))

res, err := c.client.Do(req)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion knock/internal/sdk_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ package internal

// SDKVersion is used to populate the sdk's user agent. It should be updated before
// releasing new versions of the SDK. Eventually we can automate this process.
const SDKVersion = "0.1.16"
const SDKVersion = "0.1.17"

0 comments on commit fe17f22

Please sign in to comment.