Compare commits

..
Author SHA1 Message Date
MickLesk 4d9f28fdca zerobyte: upgrade Bun on update 2026-10-01 23:23:19 +02:00
2 changed files with 4 additions and 2 deletions
-2
View File
@@ -65,9 +65,7 @@ EOF
msg_ok "Stopped services"
fi
create_backup /opt/sure/storage
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Sure" "we-promise/sure" "tarball" "latest" "/opt/sure"
restore_backup
RUBY_VERSION="$(cat /opt/sure/.ruby-version)" RUBY_INSTALL_RAILS=false HOME=/root setup_ruby
msg_info "Updating Sure"
+4
View File
@@ -44,6 +44,10 @@ function update_script() {
restore_backup
msg_info "Updating Bun"
$STD bun upgrade
msg_ok "Updated Bun"
msg_info "Building Zerobyte"
export NODE_OPTIONS="--max-old-space-size=3072"
cd /opt/zerobyte