]> wimlib.net Git - wimlib/blobdiff - update-version
wimlib_export_image(): cleanups and fixes for rollback
[wimlib] / update-version
index 0b717d080957bf29c35ab6490166737e8758ce25..15fe71eb9fb445645f9997861a17b6f2a575e851 100755 (executable)
@@ -1,14 +1,14 @@
 #!/bin/bash
 
-oldver='1\.5\.0'
+oldver='1\.7\.1'
 oldmonth=August
-oldyear=2013
+oldyear=2014
 
 newmajor=1
-newminor=5
-newpatch=1
+newminor=7
+newpatch=2
 newmonth=October
-newyear=2013
+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