chore(cli): Cleaningup cli only on release upgrade (#1369)

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2023-06-23 15:50:55 +02:00 committed by rjshrjndrn
parent a5cf104ddc
commit 075bf95951

View file

@ -390,10 +390,10 @@ do
-u | --upgrade)
if [[ $RELEASE_UPGRADE -eq 1 ]]; then
log title "Upgrading OpenReplay to Latest Release"
CLEANUP_TOOLING=1
else
log title "Applying Latest OpenReplay Patches"
fi
CLEANUP_TOOLING=1
upgrade
clean_tmp_dir
exit 0