X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=update-version;h=0ce1b04c2da188cdc0ac4a13bf8749fef14427ac;hb=156bb1de48ff4a594f6a2a2f86e86213d65a6b08;hp=8c1f15e2365f2200aa4b1bc32296069c60ffdca9;hpb=ec60614b1897da8e615c9159a38552648dda53d6;p=wimlib diff --git a/update-version b/update-version index 8c1f15e2..0ce1b04c 100755 --- a/update-version +++ b/update-version @@ -1,14 +1,14 @@ #!/bin/bash -oldver='1\.5\.2' -oldmonth=November -oldyear=2013 +oldver='1\.7\.0' +oldmonth=June +oldyear=2014 newmajor=1 -newminor=5 -newpatch=3 -newmonth=December -newyear=2013 +newminor=7 +newpatch=1 +newmonth=June +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