fixes on update

This commit is contained in:
Kristo Copani 2024-11-30 14:19:32 +02:00
parent 33caa1f822
commit 446bbba219

View File

@ -67,7 +67,7 @@ check_container_resources
systemctl stop onedev systemctl stop onedev
msg_ok "Stopped Service" msg_ok "Stopped Service"
msg_info "Updating ${APP} to v${RELEASE}" msg_info "Updating ${APP} to v${GITHUB_RELEASE}"
cd /opt cd /opt
wget -q https://code.onedev.io/onedev/server/~site/onedev-latest.tar.gz wget -q https://code.onedev.io/onedev/server/~site/onedev-latest.tar.gz
tar -xzf onedev-latest.tar.gz tar -xzf onedev-latest.tar.gz