Closed
Description
The current k6 Homebrew formula doesn't set any of the build flags we use in build-release.sh
like -trimpath
or -ldflags
to inject the build date and Git commit, so the k6 version
output for the Homebrew binary is e.g. k6 v0.31.1 ((devel), go1.16.2, darwin/amd64)
. This should be consistent with how build-release.sh
works, which generates a version string like k6 v0.31.1 (2021-03-17T13:23:23+0000/e9d8349, go1.15.8, linux/amd64)
, while also keeping in mind #1996.