@@ -61,15 +61,28 @@ jobs:
6161 GOARCH : ${{ matrix.goarch }}
6262 run : |
6363 VERSION=${GITHUB_REF#refs/tags/}
64- LDFLAGS="-s -w -X main.version=${VERSION}"
64+ LDFLAGS="-s -w -X mcpproxy-go/cmd/mcpproxy.version=${VERSION}"
65+
66+ # Build versioned binary
6567 go build -ldflags "${LDFLAGS}" -o ${{ matrix.name }} ./cmd/mcpproxy
6668
67- - name : Upload binary artifact
69+ # Create latest binary (copy of the versioned one)
70+ LATEST_NAME=$(echo "${{ matrix.name }}" | sed 's/-[^-]*-/-latest-/' | sed 's/\.exe$/-latest.exe/')
71+ cp ${{ matrix.name }} ${LATEST_NAME}
72+
73+ - name : Upload versioned binary artifact
6874 uses : actions/upload-artifact@v4
6975 with :
7076 name : ${{ matrix.name }}
7177 path : ${{ matrix.name }}
7278
79+ - name : Upload latest binary artifact
80+ uses : actions/upload-artifact@v4
81+ with :
82+ name : ${{ matrix.name }}-latest
83+ path : |
84+ mcpproxy-latest-*
85+
7386 release :
7487 needs : build
7588 runs-on : ubuntu-latest
@@ -100,9 +113,23 @@ jobs:
100113
101114 Smart MCP Proxy - Intelligent tool discovery and proxying for Model Context Protocol servers.
102115
116+ ### Quick Download Links
117+
118+ **Latest Version (auto-updates):**
119+ - [Linux AMD64](https://github.com/${{ github.repository }}/releases/latest/download/mcpproxy-latest-linux-amd64)
120+ - [Windows AMD64](https://github.com/${{ github.repository }}/releases/latest/download/mcpproxy-latest-windows-amd64.exe)
121+ - [macOS AMD64](https://github.com/${{ github.repository }}/releases/latest/download/mcpproxy-latest-darwin-amd64)
122+ - [macOS ARM64](https://github.com/${{ github.repository }}/releases/latest/download/mcpproxy-latest-darwin-arm64)
123+
124+ **This Version (${{ github.ref_name }}):**
125+ - [Linux AMD64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/mcpproxy-linux-amd64)
126+ - [Windows AMD64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/mcpproxy-windows-amd64.exe)
127+ - [macOS AMD64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/mcpproxy-darwin-amd64)
128+ - [macOS ARM64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/mcpproxy-darwin-arm64)
129+
103130 ### Installation
104131
105- 1. Download the appropriate binary for your platform
132+ 1. Download the appropriate binary for your platform using the links above
106133 2. Make it executable: `chmod +x mcpproxy-*` (Linux/macOS)
107134 3. Run `./mcpproxy-*` to start
108135
0 commit comments