We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d84dad commit 5550ce4Copy full SHA for 5550ce4
1 file changed
packages/opencode/script/publish.ts
@@ -93,13 +93,16 @@ if (!snapshot) {
93
.then((res) => res.json())
94
.then((data) => data.tag_name)
95
96
+ console.log("finding commits between", previous, "and", "HEAD")
97
const commits = await fetch(`https://api.github.com/repos/sst/opencode/compare/${previous}...HEAD`)
98
99
.then((data) => data.commits || [])
100
101
+ const raw = commits.map((commit: any) => `- ${commit.commit.message.split("\n").join(" ")}`)
102
+ console.log(raw)
103
+
104
const notes =
- commits
- .map((commit: any) => `- ${commit.commit.message.split("\n")[0]}`)
105
+ raw
106
.filter((x: string) => {
107
const lower = x.toLowerCase()
108
return (
0 commit comments