Skip to content

Commit aa6812a

Browse files
committed
release: update version to 2.0.13
1 parent 4523638 commit aa6812a

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v4
18-
- name: Update server.json version
19-
run: |
20-
VERSION=${GITHUB_REF#refs/tags/v}
21-
jq --arg version "$VERSION" '.version = $version' server.json > tmp.json
22-
mv tmp.json server.json
2318
- name: Install MCP Publisher
2419
run: |
2520
git clone https://github.com/modelcontextprotocol/registry publisher-repo

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ release:
1111
data["project"]["version"] = "$(version:v%=%)"; \
1212
tomli_w.dump(data, open("pyproject.toml", "wb"))'
1313
@python -c 'open("src/version.py", "w").write("__version__ = \"$(version:v%=%)\"\n")'
14+
@python -c 'import json; \
15+
data = json.load(open("server.json", "r")); \
16+
data["version"] = "$(version:v%=%)"; \
17+
data["packages"][0]["version"] = "$(version:v%=%)"; \
18+
json.dump(data, open("server.json", "w"), indent=2)'
1419
@uv sync
1520
@git add .
1621
@git commit -m "release: update version to $(version:v%=%)"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "elasticsearch-mcp-server"
3-
version = "2.0.12"
3+
version = "2.0.13"
44
description = "MCP Server for interacting with Elasticsearch and OpenSearch"
55
readme = "README.md"
66
requires-python = ">=3.10"

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"url": "https://github.com/cr7258/elasticsearch-mcp-server",
88
"source": "github"
99
},
10-
"version": "2.0.12",
10+
"version": "2.0.13",
1111
"packages": [
1212
{
1313
"registry_type": "pypi",
1414
"registry_base_url": "https://pypi.org",
1515
"identifier": "elasticsearch-mcp-server",
16-
"version": "2.0.12",
16+
"version": "2.0.13",
1717
"transport": {
1818
"type": "stdio"
1919
},

src/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.12"
1+
__version__ = "2.0.13"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)