diff --git a/Makefile b/Makefile index 630ee35f37..7247d78431 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/scripts/publish.js b/scripts/publish.js index 6f9b739817..4987cb4788 100755 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -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);