File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,6 @@ async function publish() {
8080 'yarn workspace @spectrum-web-components/1st-gen build:confirm' ,
8181 'Confirming build artifacts'
8282 ) ;
83- run (
84- 'yarn workspace @spectrum-web-components/1st-gen changelog:global' ,
85- 'Updating global changelog'
86- ) ;
8783
8884 // Step 2: Version bump with changesets
8985 if ( args . snapshot ) {
@@ -92,6 +88,11 @@ async function publish() {
9288 `Versioning packages (snapshot: ${ args . tag } )`
9389 ) ;
9490 } else {
91+ // Update changelog before versioning and only for regular releases
92+ run (
93+ 'yarn workspace @spectrum-web-components/1st-gen changelog:global' ,
94+ 'Updating global changelog'
95+ ) ;
9596 run ( 'yarn changeset version' , 'Versioning packages' ) ;
9697 }
9798 // Step 3: Update version file for 2nd-gen
You can’t perform that action at this time.
0 commit comments