File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,10 +69,24 @@ const main = defineCommand({
6969 console . log ( output ) ;
7070
7171 const noChangesCrates = parseNoChangesCrates ( output ) ;
72- if ( noChangesCrates . length > 0 ) {
73- console . log ( "\nOptimized command:" ) ;
74- console . log ( generateOptimizedCommand ( version , noChangesCrates ) ) ;
75- }
72+ const excludeFlags = noChangesCrates . map ( ( crate ) => `--exclude ${ crate } ` ) . join (
73+ " " ,
74+ ) ;
75+ console . log ( "\n 1. Run command to bump version:" ) ;
76+ console . log ( generateOptimizedCommand ( version , noChangesCrates ) ) ;
77+ console . log ( "2. Then Commit the changes" ) ;
78+ console . log ( "3. Run command to publish:" ) ;
79+ console . log (
80+ `cargo release publish --workspace ${ excludeFlags } ` ,
81+ ) ;
82+ console . log ( "4. Tag:" ) ;
83+ console . log (
84+ `cargo release tag --workspace ${ excludeFlags } ` ,
85+ ) ;
86+ console . log ( "5. Push:" ) ;
87+ console . log (
88+ `git push --tags && git push` ,
89+ ) ;
7690 } ,
7791} ) ;
7892
You can’t perform that action at this time.
0 commit comments