Skip to content

Commit

Permalink
docs: Corrected internal docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperMadej committed Aug 27, 2018
1 parent 6c6df12 commit ac71dbb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tasks/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
* Copy CHANGELOG.md up into the main dir.
*/

const child_process = require( 'child_process' ),
fs = require( 'fs' ),
path = require( 'path' );
const fs = require('fs'),
path = require('path');

const rootDir = path.normalize( __dirname + '/..' ),
const rootDir = path.normalize(__dirname + '/..'),
codeDir = `${rootDir}/highcharts-angular`;

// Copy CHANGELOG.md to the main folder for GitHub
console.log( 'Copying ./highcharts-angular/CHANGELOG.md to the main directory' );
fs.copyFileSync( `${codeDir}/CHANGELOG.md`, `${rootDir}/CHANGELOG.md` );
console.log('Copying ./highcharts-angular/CHANGELOG.md to the main directory');
fs.copyFileSync(`${codeDir}/CHANGELOG.md`, `${rootDir}/CHANGELOG.md`);

// Further instructions
console.log( '-------------------------------------------------------' );
console.log( 'Push as `git push --follow-tags origin master`' );
console.log( 'Publish in `./dist/highcharts-angular` as `npm publish`' );
console.log('-------------------------------------------------------');
console.log('Add moved CHANGELOG.md and `git commit --amend` it');
console.log('Push as `git push --follow-tags origin master`');
console.log('Publish in `./dist/highcharts-angular` as `npm publish`');

0 comments on commit ac71dbb

Please sign in to comment.