diff options
Diffstat (limited to 'version')
-rwxr-xr-x | version | 54 |
1 files changed, 15 insertions, 39 deletions
@@ -9,26 +9,29 @@ usage="usage: etc/version" # No max, always >=. # # NOTE: also update in 'bdep new'? +# NOTE: also update in libbuild2-<module>? +# NOTE: if upgrade is supported, should be previous release version. # -build2_min=0.12.0 -bpkg_min=0.12.0 +build2_min=0.16.0- +bpkg_min=0.16.0- -ver=0.13.0-a.0.z -#ver=0.13.0 -mods=(libstd-modules libbutl libbutl.bash libbpkg libbbot bpkg) +ver=0.17.0-a.0.z +#ver=0.17.0 +mods=(libbutl libbutl.bash libbpkg libbbot bpkg bpkg-util build2) -odb_ver=2.5.0-b.18.z -#odb_ver=2.5.0-b.17 +odb_ver=2.5.0-b.26.z +#odb_ver=2.5.0-b.25 odb_mods=(libodb libodb-sqlite libodb-pgsql) -#xml_ver=1.1.0-b.8.z -xml_ver=1.1.0-b.8 +#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: libpkg-config version constraint in build2 is updated manually. +# !!! NOTE: libcmark version constraint in brep is updated manually. +# !!! NOTE: libsqlite3 version in bpkg, bdep. -all=(libstd-modules libbutl libbutl.bash build2 libbpkg bpkg bpkg-rep bdep libbbot bbot brep build2-toolchain msvc-linux openssl-agent buildos) +all=(libbutl libbutl.bash build2 libbpkg bpkg bpkg-util bdep bdep-util libbbot bbot brep build2-toolchain msvc-linux openssl-agent buildos) # In manifests for alpha/beta we use an exact match. For snapshots -- snapshot # range. Otherwise an X.Y.* range. @@ -94,30 +97,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 .. |