From f70059bfa1f3c7c0b7d39cd92b203945241e0f72 Mon Sep 17 00:00:00 2001 From: EspenAlbert Date: Tue, 22 Aug 2023 18:55:40 +0100 Subject: [PATCH] ci: support releasing to pypi on tags2 --- _pants/py_package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_pants/py_package.py b/_pants/py_package.py index 85d0be1..afad751 100644 --- a/_pants/py_package.py +++ b/_pants/py_package.py @@ -1,4 +1,4 @@ -VERSION = env("VERSION", "0.0.28a2") +VERSION = "0.0.28a2" def py_package( *, description: str, @@ -7,6 +7,7 @@ def py_package( distribution_name: str = "", extras_require: dict = None, ): + version = env("VERSION", VERSION) parent = build_file_dir() folder_name = parent.name extra_dependencies = extra_dependencies or []