We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e458b59 commit 0d32c0cCopy full SHA for 0d32c0c
setup.py
@@ -28,7 +28,10 @@ def _get_plugin_version_dict() -> Dict[str, Any]:
28
29
def _get_package_version() -> str:
30
parts = _get_plugin_version_dict()
31
- return f'{parts["major"]}.{parts["minor"]}.{parts["patch"]}'
+ version = "{major}.{minor}.{patch}".format(**parts)
32
+ if parts["prekind"] and parts["pre"]:
33
+ version += parts["prekind"] + parts["pre"]
34
+ return version
35
36
37
description = "The athena adapter plugin for dbt (data build tool)"
0 commit comments