add FORCE_VERSION check when validating whether or not any packages have changed

This commit is contained in:
Sebastian McKenzie 2015-09-19 02:17:05 +01:00
parent 0f8eb6691b
commit 7eb45351bd

View File

@ -77,7 +77,7 @@ function publish() {
}
});
if (!changedPackages.length) {
if (!changedPackages.length && !FORCE_VERSION.length) {
throw new Error("No packages changed.");
}