diff --git a/MANIFEST b/MANIFEST index 4114f3bd8d83fd1c8a7fe349eaa8d5f3e4b1fa82..d7dd5426703e73248f4c47ca96736a739d5d460e 100644 --- a/MANIFEST +++ b/MANIFEST @@ -30,6 +30,7 @@ CUtils/c_sources/fisher.h CUtils/c_sources/Makefile.PL CUtils/c_sources/mt19937ar.c CUtils/c_sources/mt19937ar.h +CUtils/c_sources/MYMETA.json CUtils/c_sources/myrand.c CUtils/c_sources/myrand.h CUtils/c_sources/resampling.c @@ -47,6 +48,7 @@ CUtils/fallback/const-c.inc CUtils/fallback/const-xs.inc CUtils/lib/ALTree/CUtils.pm CUtils/Makefile.PL +CUtils/MYMETA.json CUtils/ppport.h CUtils/t/ALTree-CUtils.t CUtils/t/double_permutation.t @@ -67,6 +69,7 @@ Documentation/manual.tex Documentation/stage.bib Makefile.PL MANIFEST This list of files +MYMETA.json progs/altree progs/altree-add-S progs/altree-convert diff --git a/make-release b/make-release index 5b3313612d4368abd4e6c7cf892cbeb7ced51de7..a3c674eaa0fabbf103ebaf8c392d717bc4f19161 100755 --- a/make-release +++ b/make-release @@ -2,8 +2,13 @@ set -e -VERSION=$(cat Makefile.PL | \ - sed -e '/VERSION/s/.*'"'"'\([0-9a-ZA-Z._-]\+\)'"'"'.*/\1/p;d') +VERSION=$(cat progs/altree | \ + sed -e '/our.*VERSION/s/.*qv(\([0-9.]\+\)).*/\1/p;d') + +if [ "$VERSION" = "" ]; then + echo "Unable to read current version. Aborting." + exit 1 +fi FORCE="" diff --git a/progs/altree b/progs/altree index e1053306c28761dddd7431399f985c24800a0efd..c4d8c05907a0e5c2a67bf173458fc507fc38a690 100755 --- a/progs/altree +++ b/progs/altree @@ -10,7 +10,7 @@ use Data::Dumper; srand(654321); -use version; our $VERSION = qv(1.3.0); +use version; our $VERSION = qv(1.3.1); # Positionner la variable PERL5LIB si besoin