diff options
Diffstat (limited to 'version')
-rwxr-xr-x | version | 44 |
1 files changed, 9 insertions, 35 deletions
@@ -11,23 +11,24 @@ usage="usage: etc/version" # NOTE: also update in 'bdep new'? # NOTE: also update in libbuild2-<module>? # -build2_min=0.13.0 -bpkg_min=0.13.0 +build2_min=0.14.0- +bpkg_min=0.14.0- -ver=0.14.0-a.0.z -#ver=0.13.0 +#ver=0.15.0-a.0.z +ver=0.14.0 mods=(libstd-modules libbutl libbutl.bash libbpkg libbbot bpkg bpkg-util) -odb_ver=2.5.0-b.20.z -#odb_ver=2.5.0-b.21 +#odb_ver=2.5.0-b.22.z +odb_ver=2.5.0-b.21 odb_mods=(libodb libodb-sqlite libodb-pgsql) -xml_ver=1.1.0-b.9.z -#xml_ver=1.1.0-b.10 +#xml_ver=1.1.0-b.10.z +xml_ver=1.1.0-b.10 xml_mods=(libstudxml) # !!! NOTE: libpkgconf version constraint in build2 is updated manually. # !!! NOTE: libcmark version constraint in brep is updated manually. +# !!! NOTE: libsqlite3 version in bpkg. all=(libstd-modules libbutl libbutl.bash build2 libbpkg bpkg bpkg-util bdep bdep-util libbbot bbot brep build2-toolchain msvc-linux openssl-agent buildos) @@ -95,30 +96,3 @@ for m in "${all[@]}"; do process cd .. done - -# Configuration version. -# -# Note: also in the install/prepare script. -# -mj="$(echo "$ver" | sed -re 's/([^.]+)\..*/\1/')" -mn="$(echo "$ver" | sed -re 's/[^.]+\.([^.]+)\..*/\1/')" -ab="$(echo "$ver" | sed -n -re 's/[^.]+\.[^.]+\.[^.-]+-([ab]).*/\1/p')" -pr="$(echo "$ver" | sed -n -re 's/[^.]+\.[^.]+\.[^.-]+-[ab]\.([^.+]+).*/\1/p')" - -cver="$mj.$mn" - -if [ -n "$ab" ]; then - cver="$cver-$ab.$pr" -fi - -cd build2-toolchain - -for m in build*.sh; do - sed -i -re "s/cver=\".+\"/cver=\"$cver\"/" $m -done - -for m in build*.bat; do - sed -i -re "s/\"cver=.+\"/\"cver=$cver\"/" $m -done - -cd .. |