From ed29bb6f6206d007bd40c2038974b7dcf5ccbc31 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 14 Jul 2026 22:38:24 +0200 Subject: [PATCH] AFFiNE: Pin to v0.26.3 (#15782) * AFFiNE: Pin to v0.26.3 * Update GitHub release version to v0.26.3 --- ct/affine.sh | 5 +++-- install/affine-install.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ct/affine.sh b/ct/affine.sh index c6f2849aa..236a225bd 100644 --- a/ct/affine.sh +++ b/ct/affine.sh @@ -30,14 +30,15 @@ function update_script() { exit fi - if check_for_gh_release "affine_app" "toeverything/AFFiNE"; then + RELEASE="v0.26.3" + if check_for_gh_release "affine_app" "toeverything/AFFiNE" "${RELEASE}" "each release is tested individually before the version is updated. Please do not open issues for this"; then msg_info "Stopping Services" systemctl stop affine-web affine-worker msg_ok "Stopped Services" create_backup /root/.affine/config /root/.affine/storage - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "latest" "/opt/affine" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "${RELEASE}" "/opt/affine" msg_info "Rebuilding Application (Patience)" cd /opt/affine diff --git a/install/affine-install.sh b/install/affine-install.sh index 2e29234b6..4c15d2403 100644 --- a/install/affine-install.sh +++ b/install/affine-install.sh @@ -30,7 +30,7 @@ PG_DB_NAME="affine" PG_DB_USER="affine" setup_postgresql_db NODE_VERSION="22" setup_nodejs setup_rust -fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "latest" "/opt/affine" +fetch_and_deploy_gh_release "affine_app" "toeverything/AFFiNE" "tarball" "v0.26.3" "/opt/affine" msg_info "Setting up Directories" rm -rf /root/.affine