diff options
| author | Robin Moser <[email protected]> | 2025-07-16 11:46:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-16 04:46:32 -0500 |
| commit | f45deb37f06d6c8989faa0275b89a25695a6a216 (patch) | |
| tree | d529852fed037b70cc2b56558ffcf095aa68e1e8 | |
| parent | e89972a396c5b71b27b54c841fe26a2e9e53f5be (diff) | |
| download | opencode-f45deb37f06d6c8989faa0275b89a25695a6a216.tar.gz opencode-f45deb37f06d6c8989faa0275b89a25695a6a216.zip | |
fix: don't sign snapshot commits (#1046)
| -rw-r--r-- | packages/opencode/src/snapshot/index.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/opencode/src/snapshot/index.ts b/packages/opencode/src/snapshot/index.ts index 958af3daf..b23de6e07 100644 --- a/packages/opencode/src/snapshot/index.ts +++ b/packages/opencode/src/snapshot/index.ts @@ -38,10 +38,11 @@ export namespace Snapshot { await $`git --git-dir ${git} add .`.quiet().cwd(app.path.cwd).nothrow() log.info("added files") - const result = await $`git --git-dir ${git} commit -m "snapshot" --author="opencode <[email protected]>"` - .quiet() - .cwd(app.path.cwd) - .nothrow() + const result = + await $`git --git-dir ${git} commit -m "snapshot" --no-gpg-sign --author="opencode <[email protected]>"` + .quiet() + .cwd(app.path.cwd) + .nothrow() const match = result.stdout.toString().match(/\[.+ ([a-f0-9]+)\]/) if (!match) return |
