Skip to content

Commit 7df1de6

Browse files
chore: use latest keyword
1 parent 7f1633e commit 7df1de6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/pre-release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ jobs:
2525

2626
- name: Install MCP Publisher
2727
run: |
28-
export TAG=$(curl -sL https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | jq -r ".tag_name")
2928
export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
30-
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${TAG}/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher
29+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher
3130
3231
- name: Verify server.json
3332
run: npm run verify-server-json-version

.github/workflows/publish-to-npm-on-tag.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ jobs:
7979

8080
- name: Install MCP Publisher
8181
run: |
82-
export TAG=$(curl -sL https://api.github.com/repos/modelcontextprotocol/registry/releases/latest | jq -r ".tag_name")
8382
export OS=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
84-
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/${TAG}/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher
83+
curl -L "https://github.com/modelcontextprotocol/registry/releases/download/latest/mcp-publisher_${OS}.tar.gz" | tar xz mcp-publisher
8584
8685
- name: Login to MCP Registry
8786
run: ./mcp-publisher login github-oidc

0 commit comments

Comments
 (0)