Skip to content

Commit

Permalink
fix: allow release to be beta (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicor88 authored Apr 15, 2024
1 parent e458b59 commit 0d32c0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ def _get_plugin_version_dict() -> Dict[str, Any]:

def _get_package_version() -> str:
parts = _get_plugin_version_dict()
return f'{parts["major"]}.{parts["minor"]}.{parts["patch"]}'
version = "{major}.{minor}.{patch}".format(**parts)
if parts["prekind"] and parts["pre"]:
version += parts["prekind"] + parts["pre"]
return version


description = "The athena adapter plugin for dbt (data build tool)"
Expand Down

0 comments on commit 0d32c0c

Please sign in to comment.