ci: skip stable changelog generation (#91)
This commit is contained in:
@@ -68,6 +68,7 @@ jobs:
|
||||
env:
|
||||
OPENCODE_CHANNEL: latest
|
||||
OPENCODE_VERSION: ${{ inputs.version }}
|
||||
OPENCODE_SKIP_NOTES: "1"
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
@@ -37,7 +37,10 @@ let notes: string[] = []
|
||||
|
||||
console.log("=== publishing ===\n")
|
||||
|
||||
if (!Script.preview) {
|
||||
const skipNotes = process.env["OPENCODE_SKIP_NOTES"] === "1" // kilocode_change
|
||||
if (skipNotes) console.log("changelog skipped: OPENCODE_SKIP_NOTES=1") // kilocode_change
|
||||
|
||||
if (!Script.preview && !skipNotes) {
|
||||
const previous = await getLatestRelease()
|
||||
notes = await buildNotes(previous, "HEAD")
|
||||
// notes.unshift(highlightsTemplate)
|
||||
|
||||
Reference in New Issue
Block a user