chore: update ECS_VERSION to 0.1.50 in goecs.sh

This commit is contained in:
github-actions[bot]
2025-07-01 13:14:04 +00:00
parent 4797ff0b34
commit 8b5193eca1

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.49"
ECS_VERSION="0.1.50"
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.49"
ECS_VERSION="0.1.49"
_yellow "Unable to get version info, using default version 0.1.50"
ECS_VERSION="0.1.50"
fi
version_output=""
for cmd_path in "goecs" "./goecs" "/usr/bin/goecs" "/usr/local/bin/goecs"; do