diff --git a/README.md b/README.md index 00c3c6f..2c631f7 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ export DO_NOT_TRACK=1 export OPENSTATUS_NO_TELEMETRY=1 ``` -Opting out does not remove the `User-Agent`: like any HTTP client, the CLI still identifies itself with its version and platform (e.g. `openstatus-cli/v1.3.2 (darwin; arm64)`). +Opting out does not remove the `User-Agent`: like any HTTP client, the CLI still identifies itself with its version and platform (e.g. `openstatus-cli/v1.4.0 (darwin; arm64)`). When `OPENSTATUS_API_URL` points at a self-hosted instance, the command and run ID only go to that instance; `check` does not send them to openstatus.dev. diff --git a/internal/api/useragent.go b/internal/api/useragent.go index e96dc76..946db0d 100644 --- a/internal/api/useragent.go +++ b/internal/api/useragent.go @@ -21,7 +21,7 @@ const ( HeaderCLIInvocation = "x-openstatus-cli-invocation" ) -// userAgent identifies the CLI, e.g. "openstatus-cli/v1.3.2 (darwin; arm64)". +// userAgent identifies the CLI, e.g. "openstatus-cli/v1.4.0 (darwin; arm64)". var userAgent = "openstatus-cli/" + version.Version + " (" + runtime.GOOS + "; " + runtime.GOARCH + ")" var ( diff --git a/internal/version/version.go b/internal/version/version.go index ae465cc..3321e8d 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -4,4 +4,4 @@ package version // Version is overridden at release time via // -ldflags "-X github.com/openstatusHQ/cli/internal/version.Version=". -var Version = "v1.3.2" +var Version = "v1.4.0"