diff --git a/ct/ownfoil.sh b/ct/ownfoil.sh index 8a1750bfb..ec0182898 100644 --- a/ct/ownfoil.sh +++ b/ct/ownfoil.sh @@ -29,15 +29,15 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi - - if check_for_gh_release "ownfoil" "a1ex4/ownfoil"; then + RELEASE="2.3.0" + if check_for_gh_release "ownfoil" "a1ex4/ownfoil" "${RELEASE}" "pinned until 2.4.0 (coming soon) is tested, possible Breaking Changes."; then msg_info "Stopping Service" systemctl stop ownfoil msg_ok "Stopped Service" create_backup /opt/ownfoil/app/config - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" "${RELEASE}" restore_backup diff --git a/install/ownfoil-install.sh b/install/ownfoil-install.sh index 6717cfbe4..202c1f174 100644 --- a/install/ownfoil-install.sh +++ b/install/ownfoil-install.sh @@ -18,7 +18,7 @@ $STD apt install -y git msg_ok "Installed Dependencies" setup_uv -fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" +fetch_and_deploy_gh_release "ownfoil" "a1ex4/ownfoil" "tarball" "2.3.0" msg_info "Setting up Ownfoil" cd /opt/ownfoil