diff --git a/.gitignore b/.gitignore index a56a4d5..0935f49 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ /Makefile.in /aclocal.m4 /autom4te.cache +/config.cache /config.h /config.h.in /config.log diff --git a/config/version.pl b/config/version.pl index 30ef804..85861c4 100755 --- a/config/version.pl +++ b/config/version.pl @@ -11,7 +11,8 @@ #my $version = '1.4.2-30-gf966dba'; #my $version = '1.4.3-rc1'; #my $version = '1.4.3'; -unless ($version =~ m/^\d+\.\d+\.\d+/) { +#my $version = 'couchbase_1.8.0-6-g35fd1b9'; +unless ($version =~ m/\d+\.\d+\.\d+/) { write_file('m4/version.m4', "m4_define([VERSION_NUMBER], [UNKNOWN])\n"); exit; } @@ -28,7 +29,7 @@ $VERSION = $1; $FULLVERSION = $version; $RELEASE = '1.' . $2; -} elsif ($version =~ m/^(\d+\.\d+\.\d+)$/) { +} elsif ($version =~ m/(\d+\.\d+\.\d+)/) { $VERSION = $1; $FULLVERSION = $version; $RELEASE = '1';