diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 872171b..bba337d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,7 +18,7 @@ jobs: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: 1.22.4 @@ -30,11 +30,11 @@ jobs: GITHUB_TOKEN: ${{ secrets.GHT }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@v2 with: distribution: goreleaser version: latest - args: release --clean + args: release env: GITHUB_TOKEN: ${{ secrets.GHT }} GOPRIVATE: github.com/oneclickvirt/security diff --git a/.goreleaser.yaml b/.goreleaser.yaml index eb49b0c..a777605 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,4 +1,3 @@ -version: 2 before: hooks: - go mod tidy -v @@ -26,6 +25,7 @@ builds: ignore: - goos: windows goarch: arm + main: ./ binary: goecs - id: darwin-amd64 env: @@ -38,6 +38,7 @@ builds: - darwin goarch: - amd64 + main: ./ binary: goecs - id: darwin-arm64 env: @@ -50,6 +51,7 @@ builds: - darwin goarch: - arm64 + main: ./ binary: goecs universal_binaries: - name_template: "goecs" diff --git a/README.md b/README.md index 049b4ad..9453e01 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Shell版本: https://github.com/spiritLHLS/ecs ## 适配系统和架构 -编译支持的架构: amd64、arm、arm64、386、s390x、ppc64、ppc64le、riscv64、mips、mips64、mipsle、mips64le、loong64 +编译支持的架构: amd64、arm、arm64、386、s390x、ppc64、ppc64le、riscv64 测试支持的架构: amd64、arm64 diff --git a/README_EN.md b/README_EN.md index 6e09f9b..8050fe3 100644 --- a/README_EN.md +++ b/README_EN.md @@ -12,7 +12,7 @@ Shell version: https://github.com/spiritLHLS/ecs/blob/main/README_EN.md ## Supported Systems and Architectures -Architectures supported for compilation: amd64, arm, arm64, 386, s390x, ppc64, ppc64le, riscv64, mips, mips64, mipsle, mips64le, loong64 +Architectures supported for compilation: amd64, arm, arm64, 386, s390x、ppc64、ppc64le、riscv64 Tested architectures: amd64, arm64 diff --git a/goecs.go b/goecs.go index 049f1b6..de3d21a 100644 --- a/goecs.go +++ b/goecs.go @@ -37,7 +37,7 @@ import ( ) var ( - ecsVersion = "v0.0.42" + ecsVersion = "v0.0.47" menuMode bool onlyChinaTest bool input, choice string diff --git a/update.bat b/update.bat index ac5f0b7..ce81a46 100644 --- a/update.bat +++ b/update.bat @@ -8,7 +8,6 @@ git commit -am"update" :push cd %repo_path% -git tag v0.0.46 git push -f origin master if errorlevel 1 ( echo Push failed. Retrying in 3 seconds...