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:
parent
20a4184ea7
commit
52e85e65fd
5
build/bin/version
Executable file
5
build/bin/version
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var version = require('../../package.json').version;
|
||||
|
||||
console.log(version);
|
@ -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" ],
|
||||
|
Loading…
x
Reference in New Issue
Block a user