We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5127748 commit 3e24cc6Copy full SHA for 3e24cc6
tools/helios-build/src/main.rs
@@ -599,7 +599,12 @@ fn regen_illumos_sh<P: AsRef<Path>>(
599
smatch,$SMATCHBIN,smatch\"\n";
600
}
601
602
- env += "export BUILDVERSION_EXEC=\"git describe --all --long --dirty\"\n";
+ env += "helios_build_buildversion_exec_function() { \n\
603
+ git describe --all --long --dirty \
604
+ --match $(git branch --show-current) --exact-match 2>/dev/null || \
605
+ git describe --all --long --dirty \n\
606
+ }\n";
607
+ env += "export BUILDVERSION_EXEC=helios_build_buildversion_exec_function\n";
608
env += &format!("export DMAKE_MAX_JOBS={}\n", maxjobs);
609
env += "export ENABLE_SMB_PRINTING='#'\n";
610
match relver {
0 commit comments