Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ build-all-platforms: clean tidy format lint ## Build the project for all platfor
GOOS=$(os) GOARCH=$(arch) go build $(COMMON_BUILD_ARGS) -o $(BINARY_NAME)-$(os)-$(arch)$(if $(findstring windows,$(os)),.exe,) ./cmd/kubernetes-mcp-server; \
))

.PHONY: python-publish
python-publish: ## Publish the python packages
cd ./python && \
sed -i "s/version = \".*\"/version = \"$(GIT_TAG_VERSION)\"/" pyproject.toml && \
uv build && \
uv publish

.PHONY: test
test: ## Run the tests
go test -count=1 -v ./...
Expand Down
10 changes: 10 additions & 0 deletions build/python.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
##@ Python/PyPI build targets

CLEAN_TARGETS += ./python/dist ./python/*.egg-info

.PHONY: python-publish
python-publish: ## Publish the python packages
cd ./python && \
sed -i "s/version = \".*\"/version = \"$(GIT_TAG_VERSION)\"/" pyproject.toml && \
uv build && \
uv publish