diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32b3b2b..73e1e64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,3 +69,4 @@ jobs: pypi-username: ${{ secrets.PYPI_USERNAME }} pypi-password: ${{ secrets.PYPI_PASSWORD }} main-branch: "master" + version-file-path: "src/firebolt_db/__init__.py" diff --git a/setup.cfg b/setup.cfg index b973e34..cd0c214 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = firebolt_sqlalchemy -version = 0.2.0 +version = attr: firebolt_db.__version__ description = Sqlalchemy adapter for Firebolt long_description = file: README.md long_description_content_type = text/markdown diff --git a/src/firebolt_db/__init__.py b/src/firebolt_db/__init__.py index 1830389..6b7d351 100644 --- a/src/firebolt_db/__init__.py +++ b/src/firebolt_db/__init__.py @@ -15,7 +15,7 @@ "Warning", ] - +__version__ = "0.2.0" apilevel = "2.0" # Threads may share the module and connections threadsafety = 1