Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
fix(release): fix checkout CHANGELOG.md from origin/master
Browse files Browse the repository at this point in the history
* update `./tools/releases.json` with missing release entries
  • Loading branch information
ThomasBurleson committed Feb 23, 2017
1 parent d95cb09 commit e17cdc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

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(`git co origin/master -- CHANGELOG.md`);
exec(`gulp changelog --sha=$(git rev-list -n 1 v${lastMajorVer})`);

done();
Expand Down
5 changes: 4 additions & 1 deletion tools/releases.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"versions": [
"2.0.0-beta.5",
"2.0.0-beta.4",
"2.0.0-beta.3",
"2.0.0-beta.2",
"2.0.0-beta.1"
],
"latest": "2.0.0-beta.2"
"latest": "2.0.0-beta.5"
}

0 comments on commit e17cdc1

Please sign in to comment.