diff --git a/.goreleaser.yml b/.goreleaser.yml index 158570e..5a8c900 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,6 +15,8 @@ builds: - amd64 - mips - mipsle + - s390x + - riscv64 gomips: - softfloat ignore: diff --git a/README.md b/README.md index 1703208..dffddba 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: 哪吒监控 一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,计划任务和在线终端。

diff --git a/script/install.sh b/script/install.sh index 9dccf2e..967a282 100755 --- a/script/install.sh +++ b/script/install.sh @@ -11,7 +11,7 @@ NZ_BASE_PATH="/opt/nezha" NZ_DASHBOARD_PATH="${NZ_BASE_PATH}/dashboard" NZ_AGENT_PATH="${NZ_BASE_PATH}/agent" NZ_AGENT_SERVICE="/etc/systemd/system/nezha-agent.service" -NZ_VERSION="v0.8.0" +NZ_VERSION="v0.8.1" red='\033[0;31m' green='\033[0;32m' @@ -40,6 +40,10 @@ pre_check() { os_arch="arm64" elif [[ $(uname -m | grep 'arm') != "" ]]; then os_arch="arm" + elif [[ $(uname -m | grep 's390x') != "" ]]; then + os_arch="s390x" + elif [[ $(uname -m | grep 'riscv64') != "" ]]; then + os_arch="riscv64" fi ## China_IP