mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-24 19:30:40 +00:00
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:
committed by
GitHub
parent
8c452e855b
commit
2cc0c738ed
+4
-3
@@ -23,17 +23,18 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
RELEASE="0.301.1"
|
#RELEASE="0.301.1"
|
||||||
if [[ ! -f /etc/systemd/system/nocodb.service ]]; then
|
if [[ ! -f /etc/systemd/system/nocodb.service ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
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"
|
msg_info "Stopping Service"
|
||||||
systemctl stop nocodb
|
systemctl stop nocodb
|
||||||
msg_ok "Stopped Service"
|
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"
|
msg_info "Starting Service"
|
||||||
systemctl start nocodb
|
systemctl start nocodb
|
||||||
|
|||||||
Reference in New Issue
Block a user