diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9512049..14715fd8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,8 @@ jobs: - name: Install upx run: | - docker pull techknowlogick/xgo:latest - go install src.techknowlogick.com/xgo@latest + docker pull crazymax/xgo:latest + go install github.com/crazy-max/xgo@latest sudo apt install upx - name: Build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8148e716..ba05faa7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,8 +29,8 @@ jobs: - name: Install upx run: | - docker pull techknowlogick/xgo:latest - go install src.techknowlogick.com/xgo@latest + docker pull crazymax/xgo:latest + go install github.com/crazy-max/xgo@latest sudo apt install upx - name: Build diff --git a/build.sh b/build.sh index 5a418416..54f66033 100644 --- a/build.sh +++ b/build.sh @@ -62,9 +62,9 @@ BUILD() { " if [ "$1" == "release" ]; then - xgo -out "$appName" -buildvcs=false -ldflags="$ldflags" -tags=jsoniter . + xgo -out "$appName" -ldflags="$ldflags" -tags=jsoniter . else - xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out "$appName" -buildvcs=false -ldflags="$ldflags" -tags=jsoniter . + xgo -targets=linux/amd64,windows/amd64,darwin/amd64 -out "$appName" -ldflags="$ldflags" -tags=jsoniter . fi mkdir -p "build" mv alist-* build