Skip to content

Commit

Permalink
Update install-dashboard.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ansoncloud8 authored Aug 29, 2024
1 parent a337646 commit cd028d6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions install-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ get_current_version() {
else
CURRENT_VERSION=$(cat ${WORKDIR}/VERSION)
fi
# 如果 CURRENT_VERSION 为空或为 null,设置 CURRENT_VERSION 为 "v0.0.0"
if [ -z "$CURRENT_VERSION" ] || [ -n "${CURRENT_VERSION+null}" ]; then
CURRENT_VERSION="v0.0.0"
fi
}

get_latest_version() {
Expand Down

0 comments on commit cd028d6

Please sign in to comment.