From 11a9d7fdd81b96e98ddbcd0c36a9edc6be3130e2 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 13 May 2025 09:24:00 +0800 Subject: [PATCH] enhance: force using `--no-sign` to ignore `tag.gpgsign` configuration while creating lightweight tag Signed-off-by: leo --- src/Commands/Tag.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Tag.cs b/src/Commands/Tag.cs index 6fc8dc34..10a7ba87 100644 --- a/src/Commands/Tag.cs +++ b/src/Commands/Tag.cs @@ -9,7 +9,7 @@ namespace SourceGit.Commands var cmd = new Command(); cmd.WorkingDirectory = repo; cmd.Context = repo; - cmd.Args = $"tag {name} {basedOn}"; + cmd.Args = $"tag --no-sign {name} {basedOn}"; cmd.Log = log; return cmd.Exec(); }