Skip to content

Commit caf8d35

Browse files
committed
nightly: use exact branch name in $BUILDVERSION_EXEC
1 parent 5127748 commit caf8d35

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/helios-build/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,9 @@ fn regen_illumos_sh<P: AsRef<Path>>(
599599
smatch,$SMATCHBIN,smatch\"\n";
600600
}
601601
}
602-
env += "export BUILDVERSION_EXEC=\"git describe --all --long --dirty\"\n";
602+
env += "export BUILDVERSION_EXEC=\
603+
\"git describe --all --long --dirty \
604+
--match $(git branch --show-current) --exact-match\"\n";
603605
env += &format!("export DMAKE_MAX_JOBS={}\n", maxjobs);
604606
env += "export ENABLE_SMB_PRINTING='#'\n";
605607
match relver {

0 commit comments

Comments
 (0)