Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(module-pins): create annotated tag in source parity fixture

Steven Enamakel005d90a8f1c9
diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjs
index 5f83f0af39..eb9f36adb3 100644
--- a/scripts/__tests__/module-pins.test.mjs
+++ b/scripts/__tests__/module-pins.test.mjs
@@ -214,7 +214,7 @@ function sourceParityFixture() {
writeFileSync(join(root, "Cargo.toml"), "[package]\nname = \"fixture\"\nversion = \"1.0.0\"\n");
git(["add", "."]);
git(["commit", "-qm", "release"]);
- git(["tag", "v1.0.0"]);
+ git(["tag", "-a", "-m", "release", "v1.0.0"]);
const releaseCommit = execFileSync("git", ["rev-parse", "HEAD"], { cwd: root, encoding: "utf8" }).trim();
writeFileSync(join(root, "src/tests.rs"), "#[test] fn works() { assert_eq!(1, 1); }\n");
git(["add", "."]);