Permalink
Browse files

Respond with the version number

  • Loading branch information...
1 parent 1fce8da commit c9e60133fbf2edd0d7ed643237933baba0ab3589 @zalun zalun committed Nov 16, 2011
Showing with 4 additions and 1 deletion.
  1. +3 −0 lib/addons-builder-helper.js
  2. +1 −1 package.json
@@ -58,6 +58,9 @@ function attachApiToChannel(channel, addonManager) {
return {success: true,
isInstalled: addonManager.isInstalled,
installedID: addonManager.installedID};
+ case "version":
+ return {success: true,
+ msg: require('self').version};
case "uninstall":
addonManager.uninstall();
return {success: true,
View
@@ -3,7 +3,7 @@
"license": "MPL 1.1/GPL 2.0/LGPL 2.1",
"author": "Atul Varma (http://toolness.com/) <atul@mozilla.com>",
"url": "http://github.com/mozilla/addon-builder-helper",
- "version": "0.0.18",
+ "version": "0.0.19",
"dependencies": [
"api-utils",
"development-mode"

0 comments on commit c9e6013

Please sign in to comment.