Skip to content

Commit

Permalink
Respond with the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
zalun committed Nov 16, 2011
1 parent 1fce8da commit c9e6013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/addons-builder-helper.js
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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"
Expand Down

0 comments on commit c9e6013

Please sign in to comment.