fix(publish): include schema.json in release commit

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-23 22:25:30 +09:00
parent 1e3cf4ea1b
commit 908521746f

View File

@@ -122,7 +122,7 @@ async function gitTagAndRelease(newVersion: string, notes: string[]): Promise<vo
console.log("\nCommitting and tagging...") console.log("\nCommitting and tagging...")
await $`git config user.email "github-actions[bot]@users.noreply.github.com"` await $`git config user.email "github-actions[bot]@users.noreply.github.com"`
await $`git config user.name "github-actions[bot]"` await $`git config user.name "github-actions[bot]"`
await $`git add package.json` await $`git add package.json assets/oh-my-opencode.schema.json`
const hasStagedChanges = await $`git diff --cached --quiet`.nothrow() const hasStagedChanges = await $`git diff --cached --quiet`.nothrow()
if (hasStagedChanges.exitCode !== 0) { if (hasStagedChanges.exitCode !== 0) {