From 73930c5e2993a2c6d8662c489560432b8eaeaf55 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Tue, 24 Jun 2025 17:32:23 +0800 Subject: [PATCH] feat: Compatible with system upgrades for v1.10.30 and earlier versions --- .goreleaser.yaml | 1 + ci/script.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e683d9db9..e84c4ed16 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -40,6 +40,7 @@ archives: files: - 1pctl - install.sh + - 1panel.service - initscript/* - lang/* - GeoIP.mmdb diff --git a/ci/script.sh b/ci/script.sh index 58e9534ce..14cb2ea4e 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -14,6 +14,7 @@ if [ ! -f "install.sh" ]; then fi if [ ! -d "initscript" ]; then + wget https://github.com/1Panel-dev/installer/raw/main/initscript/1panel.service mkdir -p initscript && cd initscript for file in 1panel.service 1paneld.init 1paneld.openrc 1paneld.procd; do wget -q https://github.com/1Panel-dev/installer/raw/main/initscript/$file