From 6e539eb7e3a236c4abb8cb1a00deb691c20c5fcd Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 17 Jul 2015 01:04:13 +0100 Subject: [PATCH] fix order of build-dist to include the latest version number --- Makefile | 1 - scripts/publish.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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);