sync
This commit is contained in:
parent
7a4f63b22a
commit
a2a828f423
1 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import { Script } from "@opencode-ai/script"
|
||||||
import { buildNotes, getLatestRelease } from "./changelog"
|
import { buildNotes, getLatestRelease } from "./changelog"
|
||||||
|
|
||||||
if (!Script.release) {
|
if (!Script.release) {
|
||||||
throw new Error("Missing OPENCODE_RELEASE_ID environment variable")
|
throw new Error("Missing OPENCODE_RELEASE environment variable")
|
||||||
}
|
}
|
||||||
|
|
||||||
const highlightsTemplate = `
|
const highlightsTemplate = `
|
||||||
|
|
@ -75,7 +75,6 @@ await $`git fetch origin`
|
||||||
await $`git cherry-pick HEAD..origin/dev`.nothrow()
|
await $`git cherry-pick HEAD..origin/dev`.nothrow()
|
||||||
await $`git push origin HEAD --tags --no-verify --force-with-lease`
|
await $`git push origin HEAD --tags --no-verify --force-with-lease`
|
||||||
await new Promise((resolve) => setTimeout(resolve, 5_000))
|
await new Promise((resolve) => setTimeout(resolve, 5_000))
|
||||||
|
|
||||||
await $`gh release edit ${Script.release} --draft --title "v${Script.version}" --notes ${notes.join("\n") || "No notable changes"}`
|
await $`gh release edit ${Script.release} --draft --title "v${Script.version}" --notes ${notes.join("\n") || "No notable changes"}`
|
||||||
|
|
||||||
console.log("\n=== cli ===\n")
|
console.log("\n=== cli ===\n")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue