ci: fix undefined
This commit is contained in:
parent
129d4f0b1b
commit
f862ab6722
1 changed files with 14 additions and 13 deletions
|
|
@ -27,6 +27,20 @@ if (!Script.preview) {
|
||||||
const opencode = await createOpencode()
|
const opencode = await createOpencode()
|
||||||
const session = await opencode.client.session.create()
|
const session = await opencode.client.session.create()
|
||||||
console.log("generating changelog since " + previous)
|
console.log("generating changelog since " + previous)
|
||||||
|
|
||||||
|
const team = [
|
||||||
|
"actions-user",
|
||||||
|
"opencode",
|
||||||
|
"rekram1-node",
|
||||||
|
"thdxr",
|
||||||
|
"kommander",
|
||||||
|
"jayair",
|
||||||
|
"fwang",
|
||||||
|
"adamdotdevin",
|
||||||
|
"iamdavidhill",
|
||||||
|
"opencode-agent[bot]",
|
||||||
|
]
|
||||||
|
|
||||||
const raw = await opencode.client.session
|
const raw = await opencode.client.session
|
||||||
.prompt({
|
.prompt({
|
||||||
path: {
|
path: {
|
||||||
|
|
@ -106,19 +120,6 @@ if (!Script.preview) {
|
||||||
console.log("-----------------------------")
|
console.log("-----------------------------")
|
||||||
opencode.server.close()
|
opencode.server.close()
|
||||||
|
|
||||||
// Get contributors
|
|
||||||
const team = [
|
|
||||||
"actions-user",
|
|
||||||
"opencode",
|
|
||||||
"rekram1-node",
|
|
||||||
"thdxr",
|
|
||||||
"kommander",
|
|
||||||
"jayair",
|
|
||||||
"fwang",
|
|
||||||
"adamdotdevin",
|
|
||||||
"iamdavidhill",
|
|
||||||
"opencode-agent[bot]",
|
|
||||||
]
|
|
||||||
const compare =
|
const compare =
|
||||||
await $`gh api "/repos/sst/opencode/compare/v${previous}...HEAD" --jq '.commits[] | {login: .author.login, message: .commit.message}'`.text()
|
await $`gh api "/repos/sst/opencode/compare/v${previous}...HEAD" --jq '.commits[] | {login: .author.login, message: .commit.message}'`.text()
|
||||||
const contributors = new Map<string, string[]>()
|
const contributors = new Map<string, string[]>()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue