X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=update-version;h=b15fbfd476a255d1d680ec84adbfcf2ed89e1498;hp=840ea2c757109e955cdd54b55f8a57e8e5dc1291;hb=0a97ffa6074b6b69b9982d83b398145c5ac860ab;hpb=6fc65fe3cf5bacfaadf03252c8a108c2d636ec12 diff --git a/update-version b/update-version index 840ea2c7..b15fbfd4 100755 --- a/update-version +++ b/update-version @@ -1,14 +1,14 @@ #!/bin/bash -oldver='1\.4\.2' -oldmonth=June -oldyear=2013 +oldver='1\.7\.2' +oldmonth=October +oldyear=2014 newmajor=1 -newminor=5 -newpatch=0 -newmonth=August -newyear=2013 +newminor=7 +newpatch=3 +newmonth=November +newyear=2014 newver="${newmajor}.${newminor}.${newpatch}" @@ -23,7 +23,8 @@ 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/;s/wimlib $oldver/wimlib $newver/" \ + doc/man[1-9]/*.[1-9] sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD