tazuna version
Outputs the version information embedded in the binary.
tazuna version
tazuna --version
Both forms are equivalent.
Behavior
Outputs a single line in the following form and exits.
tazuna <version> (commit <commit>, built <date>, <os>/<arch>)
<version>— the release tag.devfor local builds.<commit>— the commit hash at release time.nonewhen not injected.<date>— the build timestamp at release time.unknownwhen not injected.<os>/<arch>—runtime.GOOS/runtime.GOARCH.
<version> / <commit> / <date> are injected at release time by goreleaser. For local builds via go install / go run, they are not injected, so the default values appear.
Flag
No specific flags. No arguments are accepted.
Examples
tazuna version
tazuna --version