diff options
| author | Dax Raad <[email protected]> | 2025-07-31 19:57:07 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-07-31 19:57:07 -0400 |
| commit | e6db1cf29d7c1d8da0aceaad31c6ff1fae83497b (patch) | |
| tree | fb282746faa229621d32be783916ebfb269a09b7 | |
| parent | f07f04d96901617f4cfa5744a2ae2f05e1b3eb4b (diff) | |
| download | opencode-e6db1cf29d7c1d8da0aceaad31c6ff1fae83497b.tar.gz opencode-e6db1cf29d7c1d8da0aceaad31c6ff1fae83497b.zip | |
ci: ignore release commits
| -rwxr-xr-x | packages/opencode/script/publish.ts | 1 | ||||
| -rwxr-xr-x | script/publish.ts | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/opencode/script/publish.ts b/packages/opencode/script/publish.ts index 3c4dd6b3a..c38148b4b 100755 --- a/packages/opencode/script/publish.ts +++ b/packages/opencode/script/publish.ts @@ -104,6 +104,7 @@ if (!snapshot) { .filter((x: string) => { const lower = x.toLowerCase() return ( + !lower.includes("release:") && !lower.includes("ignore:") && !lower.includes("chore:") && !lower.includes("ci:") && diff --git a/script/publish.ts b/script/publish.ts index cd802d9f8..fd498d42c 100755 --- a/script/publish.ts +++ b/script/publish.ts @@ -16,7 +16,7 @@ await import(`../packages/sdk/js/script/publish.ts`) // await import(`../packages/sdk/stainless/generate.ts`) if (!snapshot) { - await $`git commit -am "Release v${version}"` + await $`git commit -am "release: v${version}"` await $`git tag v${version}` await $`git push origin HEAD --tags` } |
