Skip to content

Commit

Permalink
fix: prevent gpg from disrupting initial commit in addon change track…
Browse files Browse the repository at this point in the history
…ing repo
  • Loading branch information
ReveredRedHood committed Aug 31, 2024
1 parent 9b3fb1e commit 7c4bd68
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,11 @@ public async Task InstallAddonFromCacheCopiesCachedAddonToAddonsPath() {
cli.Runs(addonInstallPath, new ProcessResult(0), "git", "add", "-A");
cli.Runs(
addonInstallPath, new ProcessResult(0),
"git", "commit", "-m", "Initial commit"
"git", "config", "--local", "commit.gpgsign", "false"
);
cli.Runs(
addonInstallPath, new ProcessResult(0),
"git", "commit", "-m", "\"Initial commit\""
);

await repo.InstallAddonFromCache(addon, addon.Name);
Expand Down
5 changes: 4 additions & 1 deletion GodotEnv/src/features/addons/domain/AddonsRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ await addonShell.Run(
);
await addonShell.Run("git", "add", "-A");
await addonShell.Run(
"git", "commit", "-m", "Initial commit"
"git", "config", "--local", "commit.gpgsign", "false"
);
await addonShell.Run(
"git", "commit", "-m", "\"Initial commit\""
);
}

Expand Down

0 comments on commit 7c4bd68

Please sign in to comment.