mirror of
https://github.com/runcitadel/core.git
synced 2024-11-11 16:30:38 +00:00
Also upgrade 99.99.99
This commit is contained in:
parent
81a97d8c43
commit
b4d6dda2d5
|
@ -40,9 +40,10 @@ main () {
|
|||
local external_version=$(cat "${CITADEL_ROOT}/info.json" | jq -r .version | cut -d "-" -f "1")
|
||||
local sd_version=$(cat "${SD_CITADEL_ROOT}/info.json" | jq -r .version | cut -d "-" -f "1")
|
||||
|
||||
if [[ "${external_version}" == "0.5"* ]]; then
|
||||
if [[ "${external_version}" == "0.5"* ]] || [[ "${external_version}" == "99.99.99" ]]; then
|
||||
echo "External storage is on a pre version number reset version, updating to the latest version."
|
||||
"${CITADEL_ROOT}/scripts/update/update" --path "${SD_CITADEL_ROOT}"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! check_semver_range ">${external_version}" "${sd_version}"; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user