chore: update ECS_VERSION to 0.1.74 in goecs.sh

This commit is contained in:
github-actions[bot]
2025-08-05 14:28:15 +00:00
parent 5ff18ed7c7
commit 88a2a7fdc9

View File

@@ -143,7 +143,7 @@ goecs_check() {
os=$(uname -s 2>/dev/null || echo "Unknown")
arch=$(uname -m 2>/dev/null || echo "Unknown")
check_china
ECS_VERSION="0.1.73"
ECS_VERSION="0.1.74"
for api in \
"https://api.github.com/repos/oneclickvirt/ecs/releases/latest" \
"https://githubapi.spiritlhl.workers.dev/repos/oneclickvirt/ecs/releases/latest" \
@@ -155,8 +155,8 @@ goecs_check() {
sleep 1
done
if [ -z "$ECS_VERSION" ]; then
_yellow "Unable to get version info, using default version 0.1.73"
ECS_VERSION="0.1.73"
_yellow "Unable to get version info, using default version 0.1.74"
ECS_VERSION="0.1.74"
fi
version_output=""
for cmd_path in "goecs" "./goecs" "/usr/bin/goecs" "/usr/local/bin/goecs"; do