Repository: cordova-ios Updated Branches: refs/heads/master 1b9920ca9 -> b89cd7158
CB-9827 fixed version file to be requireable Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/b89cd715 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/b89cd715 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/b89cd715 Branch: refs/heads/master Commit: b89cd7158361d033b5cc22072a9a86f6e742cef4 Parents: 1b9920c Author: Steve Gill <stevengil...@gmail.com> Authored: Thu Dec 3 12:28:27 2015 -0800 Committer: Steve Gill <stevengil...@gmail.com> Committed: Thu Dec 3 12:28:27 2015 -0800 ---------------------------------------------------------------------- bin/templates/scripts/cordova/version | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/b89cd715/bin/templates/scripts/cordova/version ---------------------------------------------------------------------- diff --git a/bin/templates/scripts/cordova/version b/bin/templates/scripts/cordova/version index 736fbc4..39db5f6 100755 --- a/bin/templates/scripts/cordova/version +++ b/bin/templates/scripts/cordova/version @@ -25,6 +25,11 @@ Note: it does not work if the --shared option was used to create the project. */ +// Coho updates this line var VERSION="4.0.0-dev" -console.log(VERSION); +module.exports.version = VERSION; + +if (!module.parent) { + console.log(VERSION); +} --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org