File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 registry-url : https://registry.npmjs.org/
6161
6262 - name : Enable Corepack
63- run : |
64- corepack enable
65- npm install -g npm@latest
63+ run : corepack enable
6664
6765 - name : Install Dependencies
6866 run : yarn install
@@ -105,9 +103,7 @@ jobs:
105103 registry-url : https://registry.npmjs.org/
106104
107105 - name : Enable Corepack
108- run : |
109- corepack enable
110- npm install -g npm@latest
106+ run : corepack enable
111107
112108 - name : Install Dependencies
113109 run : yarn install
@@ -151,9 +147,7 @@ jobs:
151147 registry-url : https://registry.npmjs.org/
152148
153149 - name : Enable Corepack
154- run : |
155- corepack enable
156- npm install -g npm@latest
150+ run : corepack enable
157151
158152 - name : Install Dependencies
159153 run : yarn install
Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ function getChangelogVersion(changelogPath = defaultPath) {
99 const matches = / ^ \# \# ( \d + \. \d + \. \d + ) .* / gm. exec ( CHANGELOG ) ;
1010
1111 if ( ! matches ) {
12- throw new Error ( 'Invalid CHANGELOG format found. Need to fine line starting with "## x.y.z" to get the latest version.' ) ;
12+ throw new Error (
13+ 'Invalid CHANGELOG format found. Need to fine line starting with "## x.y.z" to get the latest version.' ,
14+ ) ;
1315 }
1416
1517 const version = matches [ 1 ] ;
@@ -50,7 +52,7 @@ if (require.main === module) {
5052 if ( args . includes ( '--update' ) ) {
5153 updateChangelogDate ( ) ;
5254 } else if ( args . includes ( '--apply' ) ) {
53- execSync ( `lerna version ${ version } --no-git-tag-version --yes` , {
55+ execSync ( `lerna version ${ version } --no-git-tag-version --yes --force-publish ` , {
5456 cwd,
5557 stdio : 'inherit' ,
5658 shell : true ,
You can’t perform that action at this time.
0 commit comments