X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=tools%2Fupdate-version;h=99f7b74dacae27bece918d44d72f872ac91eb1f7;hp=45acebc6b9009199ade88e8129656745ce9dc03d;hb=47a26907e204b6ed6924937599df85cbf10027d8;hpb=dcdce8f085b55b0907e84ff88d43c96003d84458 diff --git a/tools/update-version b/tools/update-version index 45acebc6..99f7b74d 100755 --- a/tools/update-version +++ b/tools/update-version @@ -1,14 +1,14 @@ #!/bin/bash -oldver='1\.9\.1' -oldmonth=March -oldyear=2016 +oldver='1\.11\.0' +oldmonth=January +oldyear=2017 newmajor=1 -newminor=9 -newpatch=2 -newmonth=June -newyear=2016 +newminor=12 +newpatch=0 +newmonth=July +newyear=2017 newver="${newmajor}.${newminor}.${newpatch}" @@ -26,8 +26,6 @@ sed -i -e 's/\(#define WIMLIB_MAJOR_VERSION[[:space:]]\+\)[[:digit:]]\+/\1'$newm sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/;1s/wimlib $oldver/wimlib $newver/" \ doc/man[1-9]/*.[1-9] -sed -i "s/pkgver=$oldver/pkgver=$newver/" archlinux/PKGBUILD - sed -i "1i\\ wimlib ($newver-1) unstable; urgency=low\\ \\