scripts/tests/rollingupgrade: fix installation for current commit
This commit is contained in:
parent
e4da7bd9cd
commit
842c8d8ed9
@ -191,15 +191,10 @@ for version in ${unique_versions}; do
|
||||
bin_dir=${dir}/bin
|
||||
|
||||
echo -e "\nAdding worktree for ${version} in ${dir}."
|
||||
if [[ $version = "master" ]]
|
||||
then
|
||||
git worktree add -f "$dir" "origin/master"
|
||||
else
|
||||
git worktree add -f "$dir" "${version}"
|
||||
fi
|
||||
git worktree add -f "$dir" "${version}"
|
||||
rm -f ${dir}/private/version/release.go
|
||||
rm -f ${dir}/internal/version/release.go
|
||||
if [[ $version = $previous_release_version || $version = "master" ]]
|
||||
if [[ $version = $previous_release_version || $version = $current_commit ]]
|
||||
then
|
||||
echo "Installing storj-sim for ${version} in ${dir}."
|
||||
pushd ${dir}
|
||||
|
Loading…
Reference in New Issue
Block a user