Skip to content

Commit

Permalink
chore(release): disable checkout of CHANGELOG.md from last tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBurleson committed Feb 22, 2017
1 parent 673ed5b commit f9f16f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,9 @@
function createChangelog () {
start(`Generating changelog from ${oldVersion.cyan} to ${newVersion.cyan}...`);

exec(`git fetch --tags ${origin}`);
exec(`git checkout v${lastMajorVer} -- CHANGELOG.md`);
exec(`git fetch --all --tags ${origin}`);
// Do not use last tag's CHANGELOG; use one from master
//exec(`git checkout v${lastMajorVer} -- CHANGELOG.md`);
exec(`gulp changelog --sha=$(git rev-list -n 1 v${lastMajorVer})`);

done();
Expand Down

0 comments on commit f9f16f5

Please sign in to comment.