Skip to content

Commit

Permalink
added bin file for returning the current version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc committed Feb 28, 2015
1 parent 20a4184 commit 52e85e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build/bin/version
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node

var version = require('../../package.json').version;

console.log(version);
2 changes: 1 addition & 1 deletion contrib.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
[ "npm install", "Ensure dependency updates have been installed" ],
[ "grunt test", "Run tests" ],
[ "grunt version:{{ release_type }}", "Bump package versions" ],
[ "grunt vjs-version", "Return the current VJS Version from the package.json file", "version" ],
[ "./build/bin/version", "Return the current VJS Version from the package.json file", "version" ],
[ "grunt chg-release:{{ version }}", "Update the changelog with the new release" ],
[ "grunt clean:dist", "Clean out the dist folder before the build" ],
[ "grunt", "Build the release" ],
Expand Down

0 comments on commit 52e85e6

Please sign in to comment.