]> wimlib.net Git - wimlib/blobdiff - make-release
Update version number
[wimlib] / make-release
index 01065696b6a14f04a143714db457f11571990b44..5ff293ed9e09fe28e9206356e606d72ea6de3c77 100755 (executable)
@@ -1,13 +1,13 @@
 #!/bin/bash
 
-oldver='1\.2\.3'
-oldmonth=January
+oldver='1\.4\.0'
+oldmonth=May
 oldyear=2013
 
 newmajor=1
-newminor=2
-newpatch=4
-newmonth=January
+newminor=4
+newpatch=1
+newmonth=May
 newyear=2013
 
 
@@ -21,7 +21,7 @@ sed -i -e 's/\(#define WIMLIB_MAJOR_VERSION[[:space:]]\+\)[[:digit:]]\+/\1'$newm
        -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
 
@@ -37,6 +37,3 @@ wimlib ($newver-1) unstable; urgency=low\\
 
 sed -i 's/\(Version:[[:space:]]*\)[^[:space:]]\+/\1'"$newver"'/' \
                rpm/*.spec
-
-sed -i 's/WIMLIB_VERSION=[^[:space:]]\+/WIMLIB_VERSION='"$newver"'/' \
-               programs/mkwinpeimg