File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,16 +32,8 @@ Add highlights before publishing. Delete this section if no highlights.
3232
3333`
3434
35- let notes : string [ ] = [ ]
36-
3735console . log ( "=== publishing ===\n" )
3836
39- if ( ! Script . preview ) {
40- const previous = await getLatestRelease ( )
41- notes = await buildNotes ( previous , "HEAD" )
42- // notes.unshift(highlightsTemplate)
43- }
44-
4537const pkgjsons = await Array . fromAsync (
4638 new Bun . Glob ( "**/package.json" ) . scan ( {
4739 absolute : true ,
@@ -66,6 +58,9 @@ await $`bun install`
6658await import ( `../packages/sdk/js/script/build.ts` )
6759
6860if ( Script . release ) {
61+ const previous = await getLatestRelease ( )
62+ const notes = await buildNotes ( previous , "HEAD" )
63+ // notes.unshift(highlightsTemplate)
6964 await $ `git commit -am "release: v${ Script . version } "`
7065 await $ `git tag v${ Script . version } `
7166 await $ `git fetch origin`
You can’t perform that action at this time.
0 commit comments