mirror of
https://github.com/sst/opencode.git
synced 2025-08-02 12:52:14 +00:00
ci: ignore
This commit is contained in:
parent
5a8847952a
commit
3386908fd6
1 changed files with 15 additions and 14 deletions
|
@ -97,7 +97,8 @@ if (!snapshot) {
|
||||||
.then((res) => res.json())
|
.then((res) => res.json())
|
||||||
.then((data) => data.commits || [])
|
.then((data) => data.commits || [])
|
||||||
|
|
||||||
const notes = commits
|
const notes =
|
||||||
|
commits
|
||||||
.map((commit: any) => `- ${commit.commit.message.split("\n")[0]}`)
|
.map((commit: any) => `- ${commit.commit.message.split("\n")[0]}`)
|
||||||
.filter((x: string) => {
|
.filter((x: string) => {
|
||||||
const lower = x.toLowerCase()
|
const lower = x.toLowerCase()
|
||||||
|
@ -110,7 +111,7 @@ if (!snapshot) {
|
||||||
!lower.includes("doc:")
|
!lower.includes("doc:")
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
.join("\n")
|
.join("\n") || "No notable changes"
|
||||||
|
|
||||||
if (!dry) await $`gh release create v${version} --title "v${version}" --notes ${notes} ./dist/*.zip`
|
if (!dry) await $`gh release create v${version} --title "v${version}" --notes ${notes} ./dist/*.zip`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue