NocoDB: Unpin Version to latest

Updated the nocodb.sh script to fetch the latest release instead of a specific version.
This commit is contained in:
CanbiZ (MickLesk)
2026-03-19 17:35:56 +01:00
committed by GitHub
parent 8c452e855b
commit 2cc0c738ed

View File

@@ -23,17 +23,18 @@ function update_script() {
header_info
check_container_storage
check_container_resources
RELEASE="0.301.1"
#RELEASE="0.301.1"
if [[ ! -f /etc/systemd/system/nocodb.service ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
if check_for_gh_release "nocodb" "nocodb/nocodb" "${RELEASE}"; then
#if check_for_gh_release "nocodb" "nocodb/nocodb" "${RELEASE}"; then
if check_for_gh_release "nocodb" "nocodb/nocodb"; then
msg_info "Stopping Service"
systemctl stop nocodb
msg_ok "Stopped Service"
fetch_and_deploy_gh_release "nocodb" "nocodb/nocodb" "singlefile" "${RELEASE}" "/opt/nocodb/" "Noco-linux-x64"
fetch_and_deploy_gh_release "nocodb" "nocodb/nocodb" "singlefile" "latest" "/opt/nocodb/" "Noco-linux-x64"
msg_info "Starting Service"
systemctl start nocodb