mirror of
https://github.com/openshift/openshift-mcp-server.git
synced 2025-10-17 14:27:48 +03:00
feat(python): python packages (39)
feat(python): python packages --- Update python/kubernetes_mcp_server/__init__.py
This commit is contained in:
9
Makefile
9
Makefile
@@ -79,6 +79,15 @@ npm-publish: npm-copy-binaries ## Publish the npm packages
|
||||
jq '.optionalDependencies |= with_entries(.value = "$(NPM_VERSION)")' ./npm/kubernetes-mcp-server/package.json > tmp.json && mv tmp.json ./npm/kubernetes-mcp-server/package.json; \
|
||||
cd npm/kubernetes-mcp-server && npm publish
|
||||
|
||||
.PHONY: python-publish
|
||||
python-publish: ## Publish the python packages
|
||||
cd ./python && \
|
||||
sed -i "s/version = \".*\"/version = \"$(NPM_VERSION)\"/" pyproject.toml && \
|
||||
uv build && \
|
||||
uv push
|
||||
|
||||
|
||||
|
||||
.PHONY: test
|
||||
test: ## Run the tests
|
||||
go test -count=1 -v ./...
|
||||
|
||||
Reference in New Issue
Block a user