ci(SDK): Add 0.7.0 workflow (#2493)

This commit is contained in:
Fangyin Cheng
2025-03-20 15:27:44 +08:00
committed by GitHub
parent 4af28e40d8
commit 52e41bccc9
56 changed files with 986 additions and 358 deletions

View File

@@ -103,14 +103,19 @@ clean: ## Clean up the environment
clean-dist: ## Clean up the distribution
rm -rf dist/ *.egg-info build/
.PHONY: package
package: clean-dist ## Package the project for distribution
IS_DEV_MODE=false python setup.py sdist bdist_wheel
.PHONY: build
build: clean-dist ## Package the project for distribution
uv build --all-packages
rm -rf dist/dbgpt_app-*
rm -rf dist/dbgpt_serve-*
.PHONY: upload
upload: ## Upload the package to PyPI
# upload to testpypi: twine upload --repository testpypi dist/*
twine upload dist/*
.PHONY: publish
publish: build ## Upload the package to PyPI
uv publish
.PHONY: publish-test
publish-test: build ## Upload the package to PyPI
uv publish --index testpypi
.PHONY: help
help: ## Display this help screen