Skip to content

Commit afadab1

Browse files
committed
make RoT and bootloader artifacts distinct
1 parent 59387ca commit afadab1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/assemble/manifest.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,11 @@ impl<'a> FakeDataAttributes<'a> {
461461
};
462462

463463
let caboose = {
464+
// We use a fake git commit that contains `self.kind` to ensure that
465+
// the artifacts we produce are distinct for each `kind`, even if
466+
// all the other caboose fields are identical.
464467
let mut builder = CabooseBuilder::default()
465-
.git_commit("this-is-fake-data")
468+
.git_commit(format!("this-is-a-fake-{}", self.kind))
466469
.board(board)
467470
.name(board)
468471
.version(self.version.to_string());

0 commit comments

Comments
 (0)