]> wimlib.net Git - wimlib/blobdiff - update-version
Set version to 1.7.2-BETA
[wimlib] / update-version
index 260408870dfc8fdded5845ff05f0534c3623110f..5e8d3bde62cfa99d755a841e44ba5ccbdee7ed49 100755 (executable)
@@ -1,14 +1,14 @@
 #!/bin/bash
 
-oldver='1\.5\.1'
-oldmonth=October
-oldyear=2013
+oldver='1\.7\.0'
+oldmonth=June
+oldyear=2014
 
 newmajor=1
-newminor=5
-newpatch=2
-newmonth=November
-newyear=2013
+newminor=7
+newpatch=1
+newmonth=August
+newyear=2014
 
 
 newver="${newmajor}.${newminor}.${newpatch}"
@@ -23,7 +23,7 @@ sed -i -e 's/\(#define WIMLIB_MAJOR_VERSION[[:space:]]\+\)[[:digit:]]\+/\1'$newm
        -e 's/\(the library interface of wimlib \)'$oldver'/\1'$newver'/' \
          include/wimlib.h
 
-sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/" doc/*.1.in
+sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/" doc/man[1-9]/*.[1-9].in
 
 sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD