File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
actions/bump-all-packages Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -76,16 +76,16 @@ export async function run() {
7676 }
7777
7878 const changesetContent = packageNames
79- . map ( name => `"${ name } ": major ` )
79+ . map ( name => `"${ name } ": ${ changeType } ` )
8080 . join ( '\n' ) ;
8181
8282 const changesetFilePath = `${ changesetDir } /${ changesetId } .md` ;
83- const fileContent = `---\n${ changesetContent } \n---\n\nBump packages major version\n` ;
83+ const fileContent = `---\n${ changesetContent } \n---\n\nBump packages ${ changeType } version\n` ;
8484
8585 fs . writeFileSync ( changesetFilePath , fileContent ) ;
8686 core . info ( `Created changeset file: ${ changesetFilePath } ` ) ;
8787
88- core . info ( ' Successfully bumped versions using changesets with major strategy' ) ;
88+ core . info ( ` Successfully bumped versions using changesets with ${ changeType } strategy` ) ;
8989 } else {
9090 core . warning ( 'No packages found in target directories' ) ;
9191 }
@@ -110,7 +110,7 @@ export async function run() {
110110 }
111111 } ) ;
112112
113- core . info ( ' ✅ Successfully completed major version bump process with changesets' ) ;
113+ core . info ( ` ✅ Successfully completed ${ changeType } version bump process with changesets` ) ;
114114 } catch ( error ) {
115115 if ( error instanceof Error ) {
116116 core . setFailed ( error . message ) ;
You can’t perform that action at this time.
0 commit comments