From 7eb45351bdc48412697c99ec59a969931c60e4e7 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 19 Sep 2015 02:17:05 +0100 Subject: [PATCH] add FORCE_VERSION check when validating whether or not any packages have changed --- scripts/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.js b/scripts/publish.js index 5a10aa948e..f3dfffb007 100755 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -77,7 +77,7 @@ function publish() { } }); - if (!changedPackages.length) { + if (!changedPackages.length && !FORCE_VERSION.length) { throw new Error("No packages changed."); }