Skip to content

Commit 2437fe0

Browse files
committed
chore(release): v0.2.10
1 parent a9dc1bc commit 2437fe0

5 files changed

Lines changed: 71 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ jobs:
2222
with:
2323
node-version: '20'
2424

25+
# Install cross-compilation tools
26+
- name: Install cross-compilation tools
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
30+
# Install osxcross for macOS cross-compilation
31+
git clone https://github.com/tpoechtrager/osxcross.git
32+
cd osxcross
33+
wget -nc https://github.com/phracker/MacOSX-SDKs/releases/download/10.15/MacOSX10.15.sdk.tar.xz
34+
mv MacOSX10.15.sdk.tar.xz tarballs/
35+
UNATTENDED=1 ./build.sh
36+
cd ..
37+
2538
- name: Get version
2639
id: get_version
2740
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
@@ -47,15 +60,17 @@ jobs:
4760
4861
- name: Build mcp-gateway for Linux arm64
4962
run: |
50-
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 go build -ldflags "-X main.version=${{ env.VERSION }}" -o mcp-gateway-linux-arm64 ./cmd/mcp-gateway
63+
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc CGO_CFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib/aarch64-linux-gnu" go build -ldflags "-X main.version=${{ env.VERSION }}" -o mcp-gateway-linux-arm64 ./cmd/mcp-gateway
5164
5265
- name: Build mcp-gateway for macOS amd64
5366
run: |
54-
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=${{ env.VERSION }}" -o mcp-gateway-darwin-amd64 ./cmd/mcp-gateway
67+
export PATH=$PATH:$(pwd)/osxcross/target/bin
68+
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 CC=o64-clang CGO_CFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib" go build -ldflags "-X main.version=${{ env.VERSION }}" -o mcp-gateway-darwin-amd64 ./cmd/mcp-gateway
5569
5670
- name: Build mcp-gateway for macOS arm64
5771
run: |
58-
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -ldflags "-X main.version=${{ env.VERSION }}" -o mcp-gateway-darwin-arm64 ./cmd/mcp-gateway
72+
export PATH=$PATH:$(pwd)/osxcross/target/bin
73+
CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 CC=oa64-clang CGO_CFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib" go build -ldflags "-X main.version=${{ env.VERSION }}" -o mcp-gateway-darwin-arm64 ./cmd/mcp-gateway
5974
6075
- name: Build mcp-gateway for Windows amd64
6176
run: |

changelog/v0.2.10.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# 📦 MCP Gateway v0.2.10
2+
3+
> Turn your APIs into MCP endpoints — effortlessly, without modifying the original code.
4+
5+
## ✨ 新功能
6+
7+
- 添加OpenAPI转换器
8+
9+
## 🛠 架构与代码优化
10+
11+
- 优化CI流程,将.env打包到zip中
12+
13+
## 🐞 修复
14+
- 修复Go二进制文件中的cgo问题
15+
16+
---
17+
18+
📘 文档:https://mcp.ifuryst.com
19+
🐙 源码:https://github.com/mcp-ecosystem/mcp-gateway
20+
🐳 Docker 镜像:`ghcr.io/mcp-ecosystem/mcp-gateway/allinone:latest`
21+
💬 加入我们的 Discord 社区参与讨论:https://discord.gg/udf69cT9TY
22+
23+
---
24+
25+
感谢所有参与和关注该项目的开发者与用户 💖
26+
27+
---
28+
29+
## ✨ New Features
30+
31+
- Add OpenAPI converter
32+
33+
## 🛠 Architecture & Code Improvements
34+
35+
- Optimize CI process, pack .env into zip
36+
37+
## 🐞 Fixes
38+
- Fix cgo issue in Go binary
39+
40+
---
41+
42+
📘 Docs: https://mcp.ifuryst.com
43+
🐙 Source: https://github.com/mcp-ecosystem/mcp-gateway
44+
🐳 Docker Image: `ghcr.io/mcp-ecosystem/mcp-gateway/allinone:latest`
45+
💬 Join our Discord community for discussions: https://discord.gg/udf69cT9TY
46+
47+
---
48+
49+
Thanks to all contributors and early users! 💖

pkg/version/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.2.9
1+
v0.2.10

web/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mcp-admin-dashboard",
33
"private": true,
4-
"version": "0.2.9",
4+
"version": "0.2.10",
55
"type": "module",
66
"description": "MCP Gateway Admin Dashboard - A modern web interface for managing MCP Gateway services",
77
"keywords": [

0 commit comments

Comments
 (0)