File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,11 +80,22 @@ jobs:
8080 run : |
8181 awk "/^## \[${GITHUB_REF_NAME}\]/{found=1; next} found && /^## \[/{exit} found{print}" \
8282 CHANGELOG.md > /tmp/release-notes.md
83- JAR=$(ls target/mcp-*.jar | grep -v 'original-' | head -1)
8483 gh release create "$GITHUB_REF_NAME" \
8584 --title "$GITHUB_REF_NAME" \
86- --notes-file /tmp/release-notes.md \
87- "$JAR#qtsurfer-mcp-java-${GITHUB_REF_NAME}.jar" \
88- "native-binaries/qtsurfer-mcp-linux-amd64/qtsurfer-mcp#qtsurfer-mcp-linux-amd64" \
89- "native-binaries/qtsurfer-mcp-macos-arm64/qtsurfer-mcp#qtsurfer-mcp-macos-arm64" \
85+ --notes-file /tmp/release-notes.md
86+ - name : Upload fat JAR
87+ env :
88+ GH_TOKEN : ${{ github.token }}
89+ run : |
90+ JAR=$(ls target/mcp-*.jar | grep -v 'original-' | head -1)
91+ gh release upload "$GITHUB_REF_NAME" "$JAR#qtsurfer-mcp-java-${GITHUB_REF_NAME}.jar"
92+ - name : Upload native binaries
93+ env :
94+ GH_TOKEN : ${{ github.token }}
95+ run : |
96+ 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" \
90101 "native-binaries/qtsurfer-mcp-windows-amd64.exe/qtsurfer-mcp.exe#qtsurfer-mcp-windows-amd64.exe"
You can’t perform that action at this time.
0 commit comments