File tree 2 files changed +7
-2
lines changed
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;
48
48
49
49
switch ( true ) {
50
50
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. " ) ;
52
52
return ;
53
53
case ! hasChangesets && hasPublishScript : {
54
54
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"
56
56
) ;
57
57
58
58
let userNpmrcPath = `${ process . env . HOME } /.npmrc` ;
You can’t perform that action at this time.
0 commit comments