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 GitHub
parent dc17b0d15c
commit 5acb29d17f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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