Skip to content

Commit

Permalink
make the publish script copy the README into the dist folder (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Hobbs <[email protected]>
  • Loading branch information
lbalmaceda and Steve Hobbs authored Aug 14, 2020
1 parent 378b9f1 commit 70ed545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const currentVersion = fs.readFileSync(versionFilePath, 'utf-8');
should already be updated as part of the last tagged commit.
*/
await exec('npm run build:prod');
await exec('cp README.md ./dist/auth0-angular/');

console.log('Uploading to npm, you might be prompted for the OTP...');

Expand Down

0 comments on commit 70ed545

Please sign in to comment.