diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 036668c..b6e73bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,9 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI -on: push +on: + push: + tags: + - 'v*' jobs: build: diff --git a/.gitignore b/.gitignore index 2bb58cd..22be9d2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ build dist datamaxi.egg-info/ -__pycache___ +__pycache__/ *.pyc .DS_Store diff --git a/datamaxi/__version__.py b/datamaxi/__version__.py index 55b3ef6..df7db86 100644 --- a/datamaxi/__version__.py +++ b/datamaxi/__version__.py @@ -1 +1 @@ -__version__ = "0.26.3" +__version__ = "0.28.0" diff --git a/pyproject.toml b/pyproject.toml index c5751b4..8ce23ea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [project] name = "datamaxi" -version = "0.28.0" authors = [ { name="Bisonai", email="business@bisonai.com" }, ] @@ -17,10 +16,11 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ] -dynamic = ["dependencies"] +dynamic = ["dependencies", "version"] [tool.setuptools.dynamic] dependencies = {file = ["requirements/common.txt"]} +version = {attr = "datamaxi.__version__.__version__"} [project.urls] Homepage = "https://github.com/bisonai/datamaxi-python"