fix order of build-dist to include the latest version number

This commit is contained in:
Sebastian McKenzie 2015-07-17 01:04:13 +01:00
parent 44c82abf3a
commit 6e539eb7e3
2 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,6 @@ test-travis: bootstrap lint build test
publish:
git pull --rebase
make build-dist
make test
node scripts/publish.js
make clean

View File

@ -110,6 +110,8 @@ exec("git commit -m " + NEW_TAG_NAME, true);
exec("git tag " + NEW_TAG_NAME, true);
exec("git push --tags", true);
exec("make build-dist");
changedPackages.forEach(function (name) {
var loc = getPackageLocation(name);
exec("cd " + loc + " && npm publish", true);