1
0
Fork 0

Set version to 0.2.0-dev

perfodd
Mike Gerwitz 2012-03-05 22:55:14 -05:00
parent 3740e0c9e0
commit bc44bfd8e9
2 changed files with 16 additions and 8 deletions

2
doc/version.texi 100644
View File

@ -0,0 +1,2 @@
@c DO NOT MODIFY; generated by verset (not autoconf)
@set VERSION 0.2.0-dev

View File

@ -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;