summaryrefslogtreecommitdiffhomepage
path: root/script/changelog.ts
diff options
context:
space:
mode:
authorDax <[email protected]>2026-01-02 16:02:52 -0500
committerGitHub <[email protected]>2026-01-02 16:02:52 -0500
commit3c41e4e8f12b7f06258490bb7a85388de1eca381 (patch)
treec031d4b5fd12409c0a25bf18f39a9b8a191cc625 /script/changelog.ts
parent66bc046503190622e9d652bbed6a940b003aeb77 (diff)
downloadopencode-3c41e4e8f12b7f06258490bb7a85388de1eca381.tar.gz
opencode-3c41e4e8f12b7f06258490bb7a85388de1eca381.zip
chore: rename repo references from sst/opencode to anomalyco/opencode (#6687)
Co-authored-by: Github Action <[email protected]>
Diffstat (limited to 'script/changelog.ts')
-rwxr-xr-xscript/changelog.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/changelog.ts b/script/changelog.ts
index 18fc60993..f575ff494 100755
--- a/script/changelog.ts
+++ b/script/changelog.ts
@@ -18,7 +18,7 @@ export const team = [
]
export async function getLatestRelease() {
- return fetch("https://api.github.com/repos/sst/opencode/releases/latest")
+ return fetch("https://api.github.com/repos/anomalyco/opencode/releases/latest")
.then((res) => {
if (!res.ok) throw new Error(res.statusText)
return res.json()
@@ -39,7 +39,7 @@ export async function getCommits(from: string, to: string): Promise<Commit[]> {
// Get commit data with GitHub usernames from the API
const compare =
- await $`gh api "/repos/sst/opencode/compare/${fromRef}...${toRef}" --jq '.commits[] | {sha: .sha, login: .author.login, message: .commit.message}'`.text()
+ await $`gh api "/repos/anomalyco/opencode/compare/${fromRef}...${toRef}" --jq '.commits[] | {sha: .sha, login: .author.login, message: .commit.message}'`.text()
const commitData = new Map<string, { login: string | null; message: string }>()
for (const line of compare.split("\n").filter(Boolean)) {
@@ -195,7 +195,7 @@ export async function getContributors(from: string, to: string) {
const fromRef = from.startsWith("v") ? from : `v${from}`
const toRef = to === "HEAD" ? to : to.startsWith("v") ? to : `v${to}`
const compare =
- await $`gh api "/repos/sst/opencode/compare/${fromRef}...${toRef}" --jq '.commits[] | {login: .author.login, message: .commit.message}'`.text()
+ await $`gh api "/repos/anomalyco/opencode/compare/${fromRef}...${toRef}" --jq '.commits[] | {login: .author.login, message: .commit.message}'`.text()
const contributors = new Map<string, string[]>()
for (const line of compare.split("\n").filter(Boolean)) {