Support alpha versions for all wheels

This commit is contained in:
Dion Moult
2024-07-23 17:00:22 +10:00
parent 96b4ad8cd3
commit 5d4a3d504c
15 changed files with 40 additions and 14 deletions
+4
View File
@@ -251,7 +251,11 @@ endif
$(SED) "s/os-arch/$(BLENDER_PLATFORM)/" build/blenderbim/blender_manifest.toml
# Provides BlenderBIM Add-on functionality
ifeq ($(IS_STABLE), TRUE)
$(SED) 's/version = "0.0.0"/version = "$(VERSION)"/' build/pyproject.toml
else
$(SED) 's/version = "0.0.0"/version = "$(VERSION)a$(VERSION_DATE)"/' build/pyproject.toml
endif
cd build && . env/$(VENV_ACTIVATE) && $(PYTHON) -m build
cp build/dist/*.whl build/wheels/