Skip to content

Commit 005181a

Browse files
committed
fix: rename binaries to platform names before upload (asset name = filename, not label)
1 parent bd76ddc commit 005181a

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,13 @@ jobs:
9393
env:
9494
GH_TOKEN: ${{ github.token }}
9595
run: |
96+
mv native-binaries/qtsurfer-mcp-linux-amd64/qtsurfer-mcp \
97+
native-binaries/qtsurfer-mcp-linux-amd64/qtsurfer-mcp-linux-amd64
98+
mv native-binaries/qtsurfer-mcp-macos-arm64/qtsurfer-mcp \
99+
native-binaries/qtsurfer-mcp-macos-arm64/qtsurfer-mcp-macos-arm64
100+
mv "native-binaries/qtsurfer-mcp-windows-amd64.exe/qtsurfer-mcp.exe" \
101+
"native-binaries/qtsurfer-mcp-windows-amd64.exe/qtsurfer-mcp-windows-amd64.exe"
96102
gh release upload "$GITHUB_REF_NAME" \
97-
"native-binaries/qtsurfer-mcp-linux-amd64/qtsurfer-mcp#qtsurfer-mcp-linux-amd64"
98-
gh release upload "$GITHUB_REF_NAME" \
99-
"native-binaries/qtsurfer-mcp-macos-arm64/qtsurfer-mcp#qtsurfer-mcp-macos-arm64"
100-
gh release upload "$GITHUB_REF_NAME" \
101-
"native-binaries/qtsurfer-mcp-windows-amd64.exe/qtsurfer-mcp.exe#qtsurfer-mcp-windows-amd64.exe"
103+
native-binaries/qtsurfer-mcp-linux-amd64/qtsurfer-mcp-linux-amd64 \
104+
native-binaries/qtsurfer-mcp-macos-arm64/qtsurfer-mcp-macos-arm64 \
105+
"native-binaries/qtsurfer-mcp-windows-amd64.exe/qtsurfer-mcp-windows-amd64.exe"

0 commit comments

Comments
 (0)