cli
cli copied to clipboard
[Bug] Homebrew HEAD install has non-semver version string
What are you really trying to do?
Install temporal cli from homebrew with --head and use it.
Describe the bug
https://github.com/josh-berry/homebrew-core/blob/25aa0c4bb3512f98e0e7f6fd078686f2ea8bc4d7/Formula/t/temporal.rb#L22 sets the version string to HEAD-#{sha} which isn't semver so the server fails to parse it.
Minimal Reproduction
$ brew install --head temporal $ temporal workflow query -w 33c33110-8a30-4f8c-a5e9-cbbbe1012376_9 --type getStatus Error: query workflow failed: Unable to parse client version: No Major.Minor.Patch elements found ('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
Environment/Versions
- OS and processor: [e.g. M1 Mac, x86 Windows, Linux]
- Temporal Version: [e.g. 1.14.0?] and/or SDK version
- Are you using Docker or Kubernetes or building Temporal from source?