ci
This commit is contained in:
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -209,8 +209,6 @@ jobs:
|
|||||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-bun
|
- uses: ./.github/actions/setup-bun
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ if (!Script.preview) {
|
|||||||
const previous = await getLatestRelease(Script.version)
|
const previous = await getLatestRelease(Script.version)
|
||||||
const notes = await buildNotes(previous, "HEAD")
|
const notes = await buildNotes(previous, "HEAD")
|
||||||
const body = notes.join("\n") || "No notable changes"
|
const body = notes.join("\n") || "No notable changes"
|
||||||
await $`gh release edit v${Script.version} --draft=false --title "v${Script.version}" --notes ${body}`
|
await $`gh release edit v${Script.version} --title "v${Script.version}" --notes ${body}`
|
||||||
output.push(`release=${release.id}`)
|
output.push(`release=${release.id}`)
|
||||||
output.push(`tag=${release.tagName}`)
|
output.push(`tag=${release.tagName}`)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user