diff options
Diffstat (limited to 'version')
-rwxr-xr-x | version | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -10,22 +10,25 @@ usage="usage: etc/version" # # NOTE: also update in 'bdep new'? # -build2_min=0.6.0- -bpkg_min=0.6.0- +build2_min=0.7.0- +bpkg_min=0.7.0- -ver=0.7.0-a.0.z -#ver=0.6.0 +ver=0.8.0-a.0.z +#ver=0.7.0 mods=(libstd-modules libbutl libbpkg libbbot) -odb_ver=2.5.0-b.6.z -#odb_ver=2.5.0-b.5 +odb_ver=2.5.0-b.8.z +#odb_ver=2.5.0-b.7 odb_mods=(libodb libodb-sqlite libodb-pgsql) -xml_ver=1.1.0-b.2.z -#xml_ver=1.1.0-b.2 +xml_ver=1.1.0-b.3.z +#xml_ver=1.1.0-b.3 xml_mods=(libstudxml) -all=(libstd-modules libbutl build2 libbpkg bpkg bdep libbbot brep bbot build2-toolchain msvc-linux buildos) +# @@ NOTE: libpkgconf manually. + +all=(libstd-modules libbutl build2 libbpkg bpkg bdep libbbot bbot brep build2-toolchain msvc-linux buildos) + # In manifests for alpha/beta we use an exact match. For snapshots -- snapshot # range. Otherwise an X.Y.* range. @@ -44,10 +47,11 @@ function constraint () # <ver> if [[ $1 == *.z ]]; then r="[$mj.$mn.$pt-$ab.$pr.1 $mj.$mn.$pt-$ab.$(($pr+1)))" else - r="== $1" + r="^$1" fi else - r="[$mj.$mn.0 $mj.$(($mn+1)).0-); $mj.$mn.X" + #r="[$mj.$mn.0 $mj.$(($mn+1)).0-); $mj.$mn.X" + r="^$mj.$mn.$pt" fi echo "$r" |