Move the canonical host to git.zacharyzhang.com and follow the module path
ci / backend (push) Failing after 3m25s
ci / mcp (push) Successful in 21s
ci / interface (push) Successful in 19s
ci / image (push) Failing after 1m5s

The GitHub account that hosted this repository is suspended, so the remote
is dead and the vanity import github.com/ZacharyZhang-NY/ely-eye/... no
longer resolves. The Go module path is that import, so it moves with the
host: git.zacharyzhang.com serves a go-import meta tag for the nested
ely-eye-mcp submodule, which go build and go get both need.

The installers read release assets from the host too, so their API and
download URLs move with it. The release workflow's -ldflags symbol path is
the module path, so it moves as well; a build stamped with the new path
prints the stamped version.
This commit is contained in:
ZacharyZhang-NY committed 2026-10-10 11:26:19 -04:00
1 parent 3b87b77b7f
commit eb50367921
28 files changed
+44 -41

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
version="${GITHUB_REF_NAME#mcp-}"
binary="ely-eye-mcp"
if [ "$GOOS" = "windows" ]; then binary="ely-eye-mcp.exe"; fi
ldflags="-s -w -X github.com/ZacharyZhang-NY/ely-eye/ely-eye-mcp/internal/cli.version=${version}"
ldflags="-s -w -X git.zacharyzhang.com/ZacharyZhang-NY/ely-eye/ely-eye-mcp/internal/cli.version=${version}"
mkdir -p dist
go build -trimpath -ldflags "$ldflags" -o "dist/${binary}" ./cmd/ely-eye-mcp
base="ely-eye-mcp_${GOOS}_${GOARCH}"