From ae97350e64173ea925fdbed3c7c0e68f8547092a Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 17 Jul 2024 12:25:32 +0500 Subject: [PATCH] blender_manifest - fix version Blender requires blender_manifest version to be semver compatible otherwise it fails with an error below if you try to install BBIM as an extension. Error: Error in manifest key "version" invalid: to be a semantic-version, found '0.7.10.240717' --- src/blenderbim/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blenderbim/Makefile b/src/blenderbim/Makefile index 00e1e30dc9..b4e963187d 100644 --- a/src/blenderbim/Makefile +++ b/src/blenderbim/Makefile @@ -304,7 +304,8 @@ ifeq ($(IS_STABLE), TRUE) cd dist && zip -r blenderbim-$(VERSION)-$(PYVERSION)-$(PLATFORM).zip ./* else cd dist/blenderbim && $(SED) "s/0, 0, 0/$(VERSION_MAJOR), $(VERSION_MINOR), $(VERSION_PATCH), $(VERSION_DATE)/" __init__.py - cd dist/blenderbim && $(SED) "s/0.0.0/$(VERSION).$(VERSION_DATE)/" blender_manifest.toml + # Blender manifest version must be semver compatible. + cd dist/blenderbim && $(SED) "s/0.0.0/$(VERSION)-$(VERSION_DATE)/" blender_manifest.toml cd dist/blenderbim && $(SED) "s/8888888/$(LAST_COMMIT_HASH)/" __init__.py cd dist && zip -r blenderbim-$(VERSION).$(VERSION_DATE)-$(PYVERSION)-$(PLATFORM).zip ./* endif