Skip to content
Snippets Groups Projects
Commit 6aec777a authored by Maksim Kaitmazian's avatar Maksim Kaitmazian
Browse files

fix: picodata version

Previously, due to the default option --always, git_version::git_version
returned only a raw git commit instead of failing and fallbacking version env.
This commit disables this option.
parent 063f78ac
No related branches found
No related tags found
1 merge request!1371fix: picodata version
Pipeline #53979 failed
......@@ -57,6 +57,7 @@ fn main() {
println!(
"cargo:rustc-env=GIT_DESCRIBE={}",
git_version!(
args = [], // disable --always flag
fallback = std::env::var("GIT_DESCRIBE")
.expect("Failed to get version from git and GIT_DESCRIBE env")
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment