Skip to content

Commit 9038618

Browse files
committed
fix(tag): disable gpgsign in test repos to prevent tag signing conflicts
Tag tests were failing due to global tag.gpgsign=true configuration forcing all tags to be signed. Added explicit tag.gpgsign=false setting in test repositories to ensure lightweight tags can be created without messages.
1 parent 543f49e commit 9038618

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/tag.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,9 @@ mod tests {
606606
.set_user("Test User", "[email protected]")
607607
.unwrap();
608608

609+
// Disable tag signing for tests to ensure lightweight tags work
610+
repo.config().set("tag.gpgsign", "false").unwrap();
611+
609612
(repo, test_path)
610613
}
611614

0 commit comments

Comments
 (0)