1
0
mirror of https://github.com/videojs/video.js.git synced 2025-02-04 11:43:27 +02:00

added bin file for returning the current version

This commit is contained in:
Matthew McClure 2015-02-27 17:06:01 -08:00
parent 20a4184ea7
commit 52e85e65fd
2 changed files with 6 additions and 1 deletions

5
build/bin/version Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env node
var version = require('../../package.json').version;
console.log(version);

View File

@ -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" ],