Skip to content

Populate git commit hash into clio version string #427

@godexsoft

Description

@godexsoft

Currently clio is encoding git commit hash for debug builds only.
Having the commit hash for release does not hurt anyone but has an added benefit - it allows us to know which exact code is used while going thru performance testing and/or running integration tests. Multiple times already we had a custom build installed on a server for perf/integration testing and we had no way to prove which code it's build from other than hoping that we did not copy/install the wrong thing.

Plan of attack:

  • Talk to @legleux to find out if there are objections
  • See src/main/impl/Build.cpp
  • Version must always include the git commit hash. for both release and debug builds
  • Make sure server_info shows the version string with the commit hash for debug and release.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions