mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-23 20:57:17 +02:00
AFFiNE: Pin to v0.26.3 (#15782)
* AFFiNE: Pin to v0.26.3 * Update GitHub release version to v0.26.3
This commit is contained in:
committed by
GitHub
parent
a5b839f91f
commit
ed29bb6f62
+3
-2
@@ -30,14 +30,15 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
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"
|
msg_info "Stopping Services"
|
||||||
systemctl stop affine-web affine-worker
|
systemctl stop affine-web affine-worker
|
||||||
msg_ok "Stopped Services"
|
msg_ok "Stopped Services"
|
||||||
|
|
||||||
create_backup /root/.affine/config /root/.affine/storage
|
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)"
|
msg_info "Rebuilding Application (Patience)"
|
||||||
cd /opt/affine
|
cd /opt/affine
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ PG_DB_NAME="affine" PG_DB_USER="affine" setup_postgresql_db
|
|||||||
NODE_VERSION="22" setup_nodejs
|
NODE_VERSION="22" setup_nodejs
|
||||||
setup_rust
|
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"
|
msg_info "Setting up Directories"
|
||||||
rm -rf /root/.affine
|
rm -rf /root/.affine
|
||||||
|
|||||||
Reference in New Issue
Block a user