mirror of
https://github.com/hanzoai/mcp.git
synced 2026-10-15 12:30:12 +00:00
Open and fill the release with the release action
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
publish / publish (push) Successful in 41s
Hanzo CI/CD / test-amd64 (push) Successful in 1m46s
Hanzo CI/CD / cicd (push) Successful in 1m23s
CI/CD / cicd (push) Successful in 3m12s
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
publish / publish (push) Successful in 41s
Hanzo CI/CD / test-amd64 (push) Successful in 1m46s
Hanzo CI/CD / cicd (push) Successful in 1m23s
CI/CD / cicd (push) Successful in 3m12s
The runner image carries no gh CLI, so the open job died on its first command and nothing was built. The release action talks to the API itself, and the toolchain action installs Rust and the target rather than trusting the image to have them. hanzo-mcp 1.1.26.
This commit is contained in:
@@ -29,20 +29,11 @@ jobs:
|
||||
open:
|
||||
runs-on: linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Open the release if it is not already there
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
set -eu
|
||||
if gh release view "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
|
||||
echo "$GITHUB_REF_NAME already exists — attaching to it"
|
||||
else
|
||||
gh release create "$GITHUB_REF_NAME" \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--title "hanzo-mcp ${GITHUB_REF_NAME#rust-v}" \
|
||||
--generate-notes
|
||||
fi
|
||||
# The runner image carries no gh CLI; the release action speaks the API.
|
||||
- uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: hanzo-mcp ${{ github.ref_name }}
|
||||
generate_release_notes: true
|
||||
|
||||
build:
|
||||
needs: open
|
||||
@@ -63,6 +54,9 @@ jobs:
|
||||
runs-on: linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.triple }}
|
||||
|
||||
- name: Build
|
||||
working-directory: rust
|
||||
@@ -93,10 +87,8 @@ jobs:
|
||||
ls -l "$asset" "$asset.sha256"
|
||||
|
||||
- name: Attach
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release upload "${GITHUB_REF_NAME}" \
|
||||
"hanzo-mcp-${{ matrix.target }}.tar.gz" \
|
||||
"hanzo-mcp-${{ matrix.target }}.tar.gz.sha256" \
|
||||
--clobber --repo "${GITHUB_REPOSITORY}"
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
hanzo-mcp-${{ matrix.target }}.tar.gz
|
||||
hanzo-mcp-${{ matrix.target }}.tar.gz.sha256
|
||||
|
||||
@@ -30,20 +30,11 @@ jobs:
|
||||
open:
|
||||
runs-on: linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Open the release if it is not already there
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
set -eu
|
||||
if gh release view "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
|
||||
echo "$GITHUB_REF_NAME already exists — attaching to it"
|
||||
else
|
||||
gh release create "$GITHUB_REF_NAME" \
|
||||
--repo "$GITHUB_REPOSITORY" \
|
||||
--title "hanzo-mcp ${GITHUB_REF_NAME#rust-v}" \
|
||||
--generate-notes
|
||||
fi
|
||||
# The runner image carries no gh CLI; the release action speaks the API.
|
||||
- uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: hanzo-mcp ${{ github.ref_name }}
|
||||
generate_release_notes: true
|
||||
|
||||
build:
|
||||
needs: open
|
||||
@@ -64,6 +55,9 @@ jobs:
|
||||
runs-on: linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
targets: ${{ matrix.triple }}
|
||||
|
||||
- name: Build
|
||||
working-directory: rust
|
||||
@@ -94,10 +88,8 @@ jobs:
|
||||
ls -l "$asset" "$asset.sha256"
|
||||
|
||||
- name: Attach
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release upload "${GITHUB_REF_NAME}" \
|
||||
"hanzo-mcp-${{ matrix.target }}.tar.gz" \
|
||||
"hanzo-mcp-${{ matrix.target }}.tar.gz.sha256" \
|
||||
--clobber --repo "${GITHUB_REPOSITORY}"
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: |
|
||||
hanzo-mcp-${{ matrix.target }}.tar.gz
|
||||
hanzo-mcp-${{ matrix.target }}.tar.gz.sha256
|
||||
|
||||
Generated
+1
-1
@@ -828,7 +828,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "hanzo-mcp"
|
||||
version = "1.1.25"
|
||||
version = "1.1.26"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-trait",
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "hanzo-mcp"
|
||||
version = "1.1.25"
|
||||
version = "1.1.26"
|
||||
repository = "https://github.com/hanzoai/mcp"
|
||||
homepage = "https://hanzo.ai"
|
||||
keywords = ["mcp", "ai", "tools", "hanzo", "llm"]
|
||||
|
||||
Reference in New Issue
Block a user