File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @changesets/action " : patch
3+ ---
4+
5+ Improve error message when attempting to publish without publish script defined
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined;
4848
4949 switch ( true ) {
5050 case ! hasChangesets && ! hasPublishScript :
51- core . info ( "No changesets found" ) ;
51+ core . info ( "No changesets present or were removed by merging release PR. Not publishing because no publish script found. " ) ;
5252 return ;
5353 case ! hasChangesets && hasPublishScript : {
5454 core . info (
55- "No changesets found, attempting to publish any unpublished packages to npm"
55+ "No changesets found. Attempting to publish any unpublished packages to npm"
5656 ) ;
5757
5858 let userNpmrcPath = `${ process . env . HOME } /.npmrc` ;
You can’t perform that action at this time.
0 commit comments