From 85799bbcfcde417cb62671ac987bd9f3577a7b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Tue, 4 Mar 2025 04:51:03 +0000 Subject: [PATCH 1/4] add action to publish to pypi --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..2fb8911 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +on: + workflow_dispatch: +jobs: + publish: + name: Upload release to PyPI + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/mcp-clickhouse + permissions: + id-token: write + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/setup-uv@v5 + - run: uv python install + - run: uv build + + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file From d05eaa709ad3a8f09f5b4b8de31a28084e0b23fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 6 Mar 2025 00:38:29 +0000 Subject: [PATCH 2/4] 0.1.4 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d8799f3..aba8ac7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mcp-clickhouse" -version = "0.1.3" +version = "0.1.4" description = "An MCP server for ClickHouse." readme = "README.md" license = "Apache-2.0" From efb261e7ed14801f214e56a0f79cddc6d0544d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 6 Mar 2025 00:39:50 +0000 Subject: [PATCH 3/4] newline --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2fb8911..380a80c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,6 @@ on: workflow_dispatch: + jobs: publish: name: Upload release to PyPI From 9f91711385d68f7f5c87459845ca2d6cff3116d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Thu, 6 Mar 2025 01:11:03 +0000 Subject: [PATCH 4/4] why yaml --- .github/workflows/publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 380a80c..9c42c68 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest environment: name: pypi - url: https://pypi.org/p/mcp-clickhouse + url: "https://pypi.org/p/mcp-clickhouse" permissions: id-token: write steps: @@ -15,6 +15,4 @@ jobs: - uses: astral-sh/setup-uv@v5 - run: uv python install - run: uv build - - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file