Merge pull request #13218 from serathius/release-test

test: Bump release tests to use 3.5.0
This commit is contained in:
Piotr Tabor 2021-07-14 19:12:13 +02:00 committed by GitHub
commit 2d059d77a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -611,13 +611,13 @@ function dep_pass {
function release_pass {
rm -f ./bin/etcd-last-release
# to grab latest patch release; bump this up for every minor release
UPGRADE_VER=$(git tag -l --sort=-version:refname "v3.4.*" | head -1)
UPGRADE_VER=$(git tag -l --sort=-version:refname "v3.5.*" | head -1 | cut -d- -f1)
if [ -n "$MANUAL_VER" ]; then
# in case, we need to test against different version
UPGRADE_VER=$MANUAL_VER
fi
if [[ -z ${UPGRADE_VER} ]]; then
UPGRADE_VER="v3.3.0"
UPGRADE_VER="v3.5.0"
log_warning "fallback to" ${UPGRADE_VER}
fi