test/rollingupgrade: fix stage 1 release version (#3810)

This commit is contained in:
littleskunk 2020-03-17 22:30:07 +01:00 committed by GitHub
parent ba5991dc86
commit b10b69d9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ populate_sno_versions(){
git fetch --tags
current_commit=$(git rev-parse HEAD)
current_release_version=$(git describe --tags $current_commit | cut -d '.' -f 1-2)
previous_release_version=$(git describe --tags `git rev-list --exclude='*rc*' --exclude=$current_release_version --tags --max-count=1`)
previous_release_version=$(git describe --tags `git rev-list --exclude='*rc*' --exclude=$current_release_version* --tags --max-count=1`)
stage1_sat_version=$previous_release_version
stage1_uplink_version=$previous_release_version
stage1_storagenode_versions=$(populate_sno_versions $previous_release_version 10)