parse error on get_version() when meilisearch has been built from archive
eburghar opened this issue · 1 comments
eburghar commented
Description
Meilisearch has been build from a github archive, without setting COMMIT_DATE and COMMIT_SHA environment variable before building, and as a consequence (pr#1636), commit and date are set to 'unknown'.
Expected behavior
get an unknown date (epoch?) and hash (000...?)
Current behavior
Error
Error: Error parsing response JSON: missing field `commitDate` at line 1 column 128
Environment (please complete the following information):
- OS: Alpine 3.15
- MeiliSearch version: 1.0.0rc1
- meilisearch-rust version: v0.13.0
eburghar commented
sorry for the noise, just saw that the 1.0.0rc1 is older than 0.25.2