From 52e85e65fd37204fecb97523a8858d4b00c1e241 Mon Sep 17 00:00:00 2001 From: Matthew McClure Date: Fri, 27 Feb 2015 17:06:01 -0800 Subject: [PATCH] added bin file for returning the current version --- build/bin/version | 5 +++++ contrib.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 build/bin/version diff --git a/build/bin/version b/build/bin/version new file mode 100755 index 0000000000..1d31bbd1fb --- /dev/null +++ b/build/bin/version @@ -0,0 +1,5 @@ +#!/usr/bin/env node + +var version = require('../../package.json').version; + +console.log(version); diff --git a/contrib.json b/contrib.json index 833bc10899..22db392119 100644 --- a/contrib.json +++ b/contrib.json @@ -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" ],