Set version to 0.2.0-dev
parent
3740e0c9e0
commit
bc44bfd8e9
|
@ -0,0 +1,2 @@
|
||||||
|
@c DO NOT MODIFY; generated by verset (not autoconf)
|
||||||
|
@set VERSION 0.2.0-dev
|
|
@ -21,19 +21,25 @@
|
||||||
* @author Mike Gerwitz
|
* @author Mike Gerwitz
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var major = 0,
|
/*** DO NOT MODIFY; generated by verset ***/
|
||||||
minor = 1,
|
|
||||||
rev = 0,
|
|
||||||
|
|
||||||
version = [ major, minor, rev ];
|
var major = 0,
|
||||||
|
minor = 2,
|
||||||
|
rev = 0,
|
||||||
|
suffix = 'dev',
|
||||||
|
|
||||||
|
version = [ major, minor, rev, suffix ];
|
||||||
|
|
||||||
version.major = major;
|
version.major = major;
|
||||||
version.minor = minor;
|
version.minor = minor;
|
||||||
version.rev = rev;
|
version.rev = rev;
|
||||||
|
version.suffix = suffix;
|
||||||
|
|
||||||
version.toString = function()
|
version.toString = function()
|
||||||
{
|
{
|
||||||
return this.join( '.' );
|
return this.join( '.' )
|
||||||
|
.replace( /\.([^.]+)$/, '-$1' )
|
||||||
|
.replace( /-$/, '' );
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = version;
|
module.exports = version;
|
||||||
|
|
Loading…
Reference in New Issue