#!/bin/bash
-oldver='1\.3\.0'
-oldmonth=March
+oldver='1\.4\.0'
+oldmonth=May
oldyear=2013
newmajor=1
-newminor=3
+newminor=4
newpatch=1
-newmonth=March
+newmonth=May
newyear=2013
-e 's/\(#define WIMLIB_MINOR_VERSION[[:space:]]\+\)[[:digit:]]\+/\1'$newminor'/' \
-e 's/\(#define WIMLIB_PATCH_VERSION[[:space:]]\+\)[[:digit:]]\+/\1'$newpatch'/' \
-e 's/\(the library interface of wimlib \)'$oldver'/\1'$newver'/' \
- src/wimlib.h
+ include/wimlib.h
sed -i -e "1s/$oldmonth $oldyear/$newmonth $newyear/" doc/*.1.in
\\
* Update to v$newver\\
\\
- -- Eric Biggers <ebiggers3gmail.com> $(date -R)\\
+ -- Eric Biggers <ebiggers3@gmail.com> $(date -R)\\
" debian/changelog
sed -i 's/\(Version:[[:space:]]*\)[^[:space:]]\+/\1'"$newver"'/' \
rpm/*.spec
-
-sed -i 's/WIMLIB_VERSION=[^[:space:]]\+/WIMLIB_VERSION='"$newver"'/' \
- programs/mkwinpeimg