Skip to content

Commit d38d8c6

Browse files
committed
update git commit message for daemon shutdown and remove allow-empty flag
1 parent 66eb605 commit d38d8c6

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

packages/sandbox/daemon/entry.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,13 @@ process.on("SIGTERM", () => {
393393
cwd: bootConfig.repoDir,
394394
});
395395
gitSync(
396-
["-c", "safe.directory=*", "commit", "--allow-empty", "-m", "autosave"],
396+
[
397+
"-c",
398+
"safe.directory=*",
399+
"commit",
400+
"-m",
401+
`chore(daemon): sync all local changes to remote on shutdown`,
402+
],
397403
{ cwd: bootConfig.repoDir },
398404
);
399405
gitSync(["-c", "safe.directory=*", "push", "origin", branch], {

packages/sandbox/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@decocms/sandbox",
3-
"version": "0.4.4",
3+
"version": "0.4.5",
44
"type": "module",
55
"description": "Sandbox runner for isolated per-user containerised tool execution",
66
"scripts": {

0 commit comments

Comments
 (0)