kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #45686
Why is git commit in the version string replaced with "unknown"?
What's happening here? This has worked before. Building with ninja ->
git commit is added to the version string. But installing with sudo
ninja -> version "unknown".
eeli@eeli-ThinkStation-E31:/work/ohjelmointi/kicad/build-master$ ninja
[2/25] Generating version string header
-- Found Git: /usr/bin/git (found version "2.32.0")
-- Using Git to determine build version string.
-- Writing /work/ohjelmointi/kicad/build-master/kicad_build_version.h
file with version: (6.99.0-2254-g66d3bf2bc2-dirty)
[25/25] Linking CXX executable kicad/kicad
eeli@eeli-ThinkStation-E31:/work/ohjelmointi/kicad/build-master$ sudo
ninja install
[1/26] Generating version string header
-- Found Git: /usr/bin/git (found version "2.32.0")
-- Using Git to determine build version string.
-- Writing /work/ohjelmointi/kicad/build-master/kicad_build_version.h
file with version: 6.99.0-unknown