Bump version numbers

This commit is contained in:
Jeffrey Walton 2018-03-27 21:07:53 -04:00
parent 3958fad099
commit e9b6e85b77
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -9,7 +9,7 @@
############################################
# Tags to test
OLD_VERSION_TAG=CRYPTOPP_5_6_5
OLD_VERSION_TAG=CRYPTOPP_6_1_0
NEW_VERSION_TAG=master
############################################
@ -208,7 +208,7 @@ fi
"$MAKE" distclean &>/dev/null
rm -f GNUmakefile-symbols bench1.cpp bench.cpp
rm -f GNUmakefile-symbols
git checkout master -f &>/dev/null
cp GNUmakefile GNUmakefile-symbols
@ -234,17 +234,6 @@ else
"$SED" "$SED_OPTS" -e 's|$(TESTOBJS) ./libcryptopp.a |$(TESTOBJS) ./libcryptopp.so |g' GNUmakefile-symbols
fi
echo
echo "****************************************************************"
echo "Patching bench.cpp as needed"
echo "****************************************************************"
echo
if [[ (-e bench.cpp) ]]; then
"$SED" "$SED_OPTS" -e 's|bench1.cpp|bench.cpp|g' GNUmakefile-symbols
"$SED" "$SED_OPTS" -e 's|bench1.o|bench.o|g' GNUmakefile-symbols
fi
echo
echo "****************************************************************"
echo "Building dynamic library for $OLD_VERSION_TAG"
@ -306,18 +295,6 @@ if [[ "$?" -ne "0" ]]; then
[[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1
fi
echo
echo "****************************************************************"
echo "Patching bench.cpp as needed"
echo "****************************************************************"
echo
if [[ (-e bench1.cpp) ]]; then
"$SED" "$SED_OPTS" -e 's|bench.cpp|bench1.cpp|g' GNUmakefile-symbols
"$SED" "$SED_OPTS" -e 's|bench.o|bench1.o|g' GNUmakefile-symbols
fi
echo
echo "****************************************************************"
echo "Building dynamic library for $NEW_VERSION_TAG"
@ -352,4 +329,4 @@ if [[ "$?" -ne "0" ]]; then
[[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1
fi
[[ "$0" = "$BASH_SOURCE" ]] && exit 0 || return 0
[[ "$0" = "$BASH_SOURCE" ]] && exit 0 || return 0