ci: ignore

This commit is contained in:
Dax Raad 2025-07-19 19:30:12 -04:00
parent 5a8847952a
commit 3386908fd6

View file

@ -97,20 +97,21 @@ if (!snapshot) {
.then((res) => res.json()) .then((res) => res.json())
.then((data) => data.commits || []) .then((data) => data.commits || [])
const notes = commits const notes =
.map((commit: any) => `- ${commit.commit.message.split("\n")[0]}`) commits
.filter((x: string) => { .map((commit: any) => `- ${commit.commit.message.split("\n")[0]}`)
const lower = x.toLowerCase() .filter((x: string) => {
return ( const lower = x.toLowerCase()
!lower.includes("ignore:") && return (
!lower.includes("chore:") && !lower.includes("ignore:") &&
!lower.includes("ci:") && !lower.includes("chore:") &&
!lower.includes("wip:") && !lower.includes("ci:") &&
!lower.includes("docs:") && !lower.includes("wip:") &&
!lower.includes("doc:") !lower.includes("docs:") &&
) !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`