aboutsummaryrefslogtreecommitdiff
path: root/src/util/version.rs
Commit message (Collapse)AuthorAgeFilesLines
* move git-version dependency to main crate to reduce rebuildsAlex Auvolat2023-05-091-8/+4
|
* rpc/system_metrics.rs: Added rustversion label to garage_build_info metric.Jonathan Davies2023-03-101-0/+4
|
* Move version back into utilimprove-depsAlex Auvolat2022-09-071-0/+28
|
* Move GIT_VERSION injection later in build chain to reduce build timesAlex Auvolat2022-09-071-7/+0
|
* Configure structopt to report the right versionv0.7.2_ci-test-2bug/reported-versionQuentin Dufour2022-08-111-0/+7
By default, structopt reports the value provided by the env var CARGO_PKG_VERSION, feeded by Cargo when reading Cargo.toml. However for Garage we use a versioning based on git, so we often report a version that is behind the real version. In this commit, we create garage_util::version::garage() that reports the right version and configure all structopt subcommands to call this function instead of using the env var.