diff --git a/Makefile b/Makefile index a3e5397..d4ea2d7 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,16 @@ setup: fmt: poetry run black . - poetry run isort . \ No newline at end of file + poetry run isort . + +clean: + rm -rf dist + +build: + poetry build + +publish: clean build + poetry publish + +release: clean build + ghr -u crflynn -r databricks-dbapi -c $(shell git rev-parse HEAD) -delete -b "release" -n $(shell poetry version | tail -c +18) $(shell poetry version | tail -c +18) dist/* diff --git a/databricks_dbapi/_version.py b/databricks_dbapi/_version.py index f38a262..cd890cc 100644 --- a/databricks_dbapi/_version.py +++ b/databricks_dbapi/_version.py @@ -2,7 +2,7 @@ __title__ = "databricks_dbapi" __description__ = "Databricks DBAPI." __url__ = "https://github.com/crflynn/databricks-dbapi" -__version__ = "0.3.0" +__version__ = "0.4.0" __author__ = "Christopher Flynn" __author_email__ = "crf204@gmail.com" __license__ = "MIT" diff --git a/pyproject.toml b/pyproject.toml index 1277b1b..e0e7bf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ line_length = 120 [tool.poetry] name = "databricks_dbapi" -version = "0.3.0" +version = "0.4.0" description = "A DBAPI 2.0 interface and SQLAlchemy dialect for Databricks interactive clusters." authors = ["Christopher Flynn "] license = "MIT"