Lines Matching full:version
8 # Sets the version numbers in the source code to those given.
10 # Usage: bump_version.sh [ --version <version> ] [ --so-crypto <version>]
11 # [ --so-x509 <version> ] [ --so-tls <version> ]
17 VERSION=""
25 --version)
26 # Version to use
28 VERSION=$1
50 echo -e " --version <version>\tVersion to bump to."
51 echo -e " --so-crypto <version>\tSO version to bump libmbedcrypto to."
52 echo -e " --so-x509 <version>\tSO version to bump libmbedx509 to."
53 echo -e " --so-tls <version>\tSO version to bump libmbedtls to."
66 if [ "X" = "X$VERSION" ];
68 echo "No version specified. Unable to continue."
72 [ $VERBOSE ] && echo "Bumping VERSION in CMakeLists.txt"
73 sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < CMakeLists.txt > tmp
76 [ $VERBOSE ] && echo "Bumping VERSION in library/CMakeLists.txt"
77 sed -e "s/ VERSION [0-9.]\{1,\}/ VERSION $VERSION/g" < library/CMakeLists.txt > tmp
113 [ $VERBOSE ] && echo "Bumping VERSION in include/mbedtls/build_info.h"
114 read MAJOR MINOR PATCH <<<$(IFS="."; echo $VERSION)
121 sed -e "s/\(# *define *[A-Z]*_VERSION\)_STRING .\{1,\}/\1_STRING \"$VERSION\"/" | \
122 …e "s/\(# *define *[A-Z]*_VERSION\)_STRING_FULL .\{1,\}/\1_STRING_FULL \"Mbed TLS $VERSION\"/" \
126 [ $VERBOSE ] && echo "Bumping version in tests/suites/test_suite_version.data"
127 sed -e "s/version:\".\{1,\}/version:\"$VERSION\"/g" < tests/suites/test_suite_version.data > tmp
133 sed -e "s/\\([Mm]bed TLS v\\)[0-9][0-9.]*/\\1$VERSION/g" < $i > tmp