From f249d55d3c7480e00517dde30ddb160cba977478 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Sun, 17 Nov 2019 12:40:14 +1100 Subject: [PATCH] Add version string to Makefile so users know their version --- src/ifcblenderexport/Makefile | 7 ++++--- src/ifcblenderexport/blenderbim/__init__.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/ifcblenderexport/Makefile b/src/ifcblenderexport/Makefile index 64ac637b7d..8b0b1b3710 100644 --- a/src/ifcblenderexport/Makefile +++ b/src/ifcblenderexport/Makefile @@ -7,10 +7,11 @@ endif mkdir -p dist cd dist && wget https://s3.amazonaws.com/ifcopenshell-builds/ifcblender-python-37-v0.6.0-b4ce5be-$(PLATFORM)64.zip cd dist && unzip ifcblender* - cp -r io_export_ifc dist/ - cp -r dist/io_import_scene_ifc/ifcopenshell dist/io_export_ifc/ + cp -r blenderbim dist/ + cp -r dist/io_import_scene_ifc/ifcopenshell dist/blenderbim/ rm -rf dist/io_import_scene_ifc - cd dist && zip -r blender28-bim-`date '+%y%m%d'`-$(PLATFORM).zip io_export_ifc + cd dist/blenderbim && export VERSION=`date '+%y%m%d'` && sed -i "s/999999/$(VERSION)/" __init__.py + cd dist && zip -r blender28-bim-`date '+%y%m%d'`-$(PLATFORM).zip blenderbim cd dist && rm -rf io_* && rm ifcblender-python-37-v0.6.0-b4ce5be-$(PLATFORM)64.zip .PHONY: clean diff --git a/src/ifcblenderexport/blenderbim/__init__.py b/src/ifcblenderexport/blenderbim/__init__.py index cb3cce0272..96f29abdce 100644 --- a/src/ifcblenderexport/blenderbim/__init__.py +++ b/src/ifcblenderexport/blenderbim/__init__.py @@ -4,7 +4,7 @@ bl_info = { "Industry Foundation Classes (.ifc) file format", "author": "Dion Moult, IfcOpenShell", "blender": (2, 80, 0), - "version": (0, 0, 99999), + "version": (0, 0, 999999), "location": "File > Export, File > Import, Scene / Object / Material / Mesh Properties", "tracker_url": "https://sourceforge.net/p/ifcopenshell/" "_list/tickets?source=navbar",