add VERSION file to publish script add

This commit is contained in:
Sebastian McKenzie
2015-07-13 23:43:57 +01:00
parent c13f722964
commit 5dcd54f4bc
2 changed files with 3 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ function exec(cmd, log) {
}).trim();
if (log) {
console.log(out);
if (out) console.log(out);
} else {
return out;
}
@@ -60,7 +60,7 @@ var lastTagCommit = exec("git rev-list --tags --max-count=1");
var lastTag = exec("git describe " + lastTagCommit);
var changedPackages = [];
var changedFiles = [];
var changedFiles = [VERSION_LOC];
packageNames.forEach(function (name) {
var diff = exec("git diff " + lastTag + " -- " + getPackageLocation(name));