mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
fix: turn off GPG Signing
when create a new tag does not work if tag.gpgsign
is enabled
This commit is contained in:
parent
857ba85d9f
commit
249706c1ef
2 changed files with 5 additions and 2 deletions
|
@ -16,7 +16,7 @@ namespace SourceGit.Commands
|
|||
|
||||
public static bool Add(string repo, string name, string basedOn, string message, bool sign)
|
||||
{
|
||||
var param = sign ? "-s -a" : "-a";
|
||||
var param = sign ? "--sign -a" : "--no-sign -a";
|
||||
var cmd = new Command();
|
||||
cmd.WorkingDirectory = repo;
|
||||
cmd.Context = repo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue