Compare commits

...

4 Commits

Author SHA1 Message Date
spiritlhl
43b2c8aca3 fix: 升级版本 2025-07-20 21:32:01 +08:00
spiritlhl
96117a040e fix: 固定主版本 2025-07-20 21:31:40 +08:00
spiritlhl
c5aeda45bd fix: 修复版本号 2025-07-20 21:24:35 +08:00
github-actions[bot]
0b2ac51f09 chore: update ECS_VERSION to 0.1.65 in goecs.sh 2025-07-20 13:16:07 +00:00
3 changed files with 7 additions and 6 deletions

View File

@@ -35,7 +35,8 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
# version: latest
version: '~> v2'
args: release
env:
GITHUB_TOKEN: ${{ secrets.GHT }}
@@ -70,4 +71,4 @@ jobs:
git commit -m "chore: update ECS_VERSION to $VERSION in goecs.sh"
git push origin $BRANCH
env:
GITHUB_TOKEN: ${{ secrets.GHT }}
GITHUB_TOKEN: ${{ secrets.GHT }}

View File

@@ -39,7 +39,7 @@ import (
)
var (
ecsVersion = "v0.1.64"
ecsVersion = "v0.1.66"
menuMode bool
onlyChinaTest bool
input, choice string

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